Sarra
Sarra

Reputation: 13

Jenkins failure job: Jenkins can't cd to specific path

I am novice with Jenkins, I am trying to create a Job. For build I use "execute shell command" and the code is as below: cd /Users/username/javaFiles javac hello.java java -cp . hello

however, when Build the job, i got this failure message : failureMessage

Thanks in advance for help !

Upvotes: 0

Views: 2045

Answers (2)

Dinesh Kumar
Dinesh Kumar

Reputation: 1

Ensure you have given permission..run below cmd:

chmod 777 Users/

Upvotes: 0

Andres Cabrera
Andres Cabrera

Reputation: 144

The path for cd is correct ? Ensure the path exist.

Upvotes: 0

Related Questions