1

I am able to configure Fastlane locally and working well with terminal, but when I am trying to run it with Jenkins(I have configured Jenkins locally on my macbook) it is failing every-time(i have installed ruby 2.5.0 again). Any help on the same would be highly appreciated.

I am attaching SS for your reference.

enter image description here

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Sishu
  • 1,510
  • 1
  • 21
  • 48

2 Answers2

0

Jenkins run its build scripts using specified user 'jenkins'. You might want to check if 'jenkins' user had installed requires dependencies to run fastlane, for e.g ruby ...

Duy Nguyen
  • 226
  • 1
  • 5
0

Have you set up your PATH in Jenkins? In the configuration of your node, in the environment variables section, you'll want to include /usr/local/bin/ with Jenkins's PATH by entering /usr/local/bin/:$PATH.

rpecka
  • 1,168
  • 5
  • 17
  • This is not working. I tried with /bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin and worked – Sishu Aug 28 '19 at 22:34