Jenkins execute shell not able to find gradle commands
I am trying to trigger gradle command in execute shell of a particular node from jenkins master and it's trowing an exception as- gradle: command not found Build step 'Execute shell' marked build as failure However, gradle command works if am trying to execute shell in the same node itself under local workspace. What I understood- Triggering any job from remote by default try to search executable like 'adb', 'gradle' in /usr/local/bin of node machine (Macintosh) read-write access should be there for '.gradle' folder What I have done- added .gradle inside /usr/local/bin of slave granted read-wr
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.