0

I am trying to change the work space folder in which my jenkins build runs on. From the documentation and other resources I have set this in the node as shown below:

Jenkins Slave FS root

When I run the build it's still pulling to the original folder /home/jenkins-slave/workspace. Is there somewhere else this needs to be configured?

Husk Rekoms
  • 217
  • 1
  • 4
  • 15

1 Answers1

1

No, you configured it correctly.

The only thing you still have to do is to restart the slave by going to the master -> Manage Jenkins -> Manage Nodes -> choose the relevant node and then hit "Disconnect" and then "Relaunch slave".

If it's a Windows slave then restart the Jenkins service in the relevant slave.

Itai Ganot
  • 10,424
  • 27
  • 88
  • 143
  • Thanks Itai, my configuration seems to reset back to normal when I do that, but I'm guessing that this is a different problem that I will begin to debug. Thanks for confirming I'm on the right track. – Husk Rekoms Jul 19 '18 at 16:20
  • You’re welcome mate – Itai Ganot Jul 19 '18 at 16:20