[workflow-plugin] Example using NodeLabel Parameter plugin?

36 views
Skip to first unread message

Craig Rodrigues

unread,
Dec 22, 2015, 4:41:56 PM12/22/15
to Jenkins Users
Hi,

Can someone provide some workflow groovy which takes
a "Node Parameter" from the NodeLabel Parameter plugin,
and then uses it in a workflow script?

I couldn't figure out how to do it, and kept getting null exceptions
when I tried to use the parameter.

--
Craig

Craig Rodrigues

unread,
Dec 27, 2015, 11:00:53 PM12/27/15
to Jenkins Users
Hi,

It turns out that the NodeLabel Parameter plugin doesn't work with the workflow plugin:
https://issues.jenkins-ci.org/browse/JENKINS-32209

I submitted this fix:

https://github.com/jenkinsci/nodelabelparameter-plugin/pull/10

--
Craig

Reply all
Reply to author
Forward
0 new messages