Jump to content


Jenkins P4 Plugin Node Name


  • Please log in to reply
No replies to this topic

#1 Thild1965

Thild1965

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 20 January 2020 - 06:28 AM

Hello,

I've been setting up some build jobs using a master/slave configuration with Jenkins using the P4 plugin.  In my build configuration, I've been using jenkins-${NODE_NAME}-${JOB_NAME} as my workspace name.  When running the build job on the master, the workspace name is created as jenkins-master-my_job.  However, when the job gets executed on slave, the workspace name is created as jenkins-JNLP4-connect_connection_from_10.60.115.77-10.60.115.77:49731-my_job.  I would have expected the workspace name on the slave to be jenkins-slave1-my_job mykfcexperience.

Is there a reason NODE_NAME is changed like this by the P4 plugin?

Regards.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users