Hello. Can you please tell me how to change the value of "Remote root directory" in the settings of a Jenkins node using a Groovy script? I plan to change the mount point for a large group of nodes, somehow it's not right to interrupt everything)

  • through rest . but changing this config is a bad idea in my opinion - Senior Pomidor
  • perhaps still [here] [ stackoverflow.com/questions/23780554/… there is an answer to your question - Senior Pomidor
  • It seems that just so this parameter does not change. - btk3000
  • It seems that just so this parameter does not change. In the code here is a variable: "protected final String remoteFS". Those. You can do it only by recreating the object. I'm right? - btk3000
  • during installation you can set this par-p. You do not need to go into the code, click the Advanced button. Set the "Use custom workspace" directory to: D: \ wp - Senior Pomidor

0