You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Is anybody can point me to some info or an how to use the node and label parameter.
I can make it work with a choice list but I would rather make it work with the plugin if possible with proper default value.
jer...@bodycad.com
unread,
Dec 13, 2017, 1:00:52 PM12/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
For prosperity, my finding is:
it seem like the node have their node name as label automatically (I realized this when trying to add the node name to the label, the label was disappearing when saving the changes)
Knowning number 1 point, I could just use the named parametrized input and ask for the node name as unique label, which was forcing the Jenkinsfile to run on that node.
parametrized build is node type: name: ENFORCED_NODE, fill the rest as wanted
Use it as follow into the scripted pipeline Jenkinsfiles: