Jump to content

P4 Jenkins plugin multiple executors

p4jenkins jenkins

  • Please log in to reply
2 replies to this topic

#1 ostojan



  • Members
  • Pip
  • 2 posts

Posted 19 February 2016 - 01:23 PM

I have a question about workspace management in P4 Jenkins plugin. I have been googling but haven't found answer.

I'd like to create configuration as simple as possible for job but problem is that job can be executed on many nodes and every node have more than one slot for execution. How should I set workspace name and other options? Especially if I want to start job after each change.

#2 Tubah


    Advanced Member

  • Staff
  • 46 posts

Posted 22 February 2016 - 06:47 PM

For the name of your client, include NODE_NAME and EXECUTOR_NUMBER.

For example (enter this verbatim):


At run time, the values will be substituted, making the name unique for the job/node/executor.

#3 ostojan



  • Members
  • Pip
  • 2 posts

Posted 02 March 2016 - 12:56 PM

I have this configuration now, but it causes problems with polling per change. I have to create special job named "Poller_<ORIGINAL_JOB_NAME>" which is bind to one machine and have workspace named ${JOB_NAME}. This job starts actual job and thanks to bind to one node with one workspace it allow to start job after each change. Is there any other, more clear way to do it?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users