jenkins \ force project to run on specific slave with input parameter? jenkins \ force project to run on specific slave with input parameter? jenkins jenkins

jenkins \ force project to run on specific slave with input parameter?


Use this plugin:https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin

You can provide a parameter to the job via either the ParameterizedTrigger or using the API and providing the node name (or label).


You should be a able to create a string input parameter and then use that in the "Restrict where this project can be run" box. So if your string parameter was called TAG you would put ${TAG} in the box.

You could then use the Parameterized Trigger Plugin to pass this to downstream jobs, essentially tying all of them to the same node.