You should be able to use the variable $NODE_NAME in the condition for a
build step. From
https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project.
On 11/5/2015 9:14 AM, David Aldrich wrote:
To re-phrase my question:
Using the Conditional Build Step Plugin, how would I specify a
condition that checks whether the job is running on a specific slave?
Best regards
David
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *David Aldrich
*Sent:* 05 November 2015 09:43
*To:* [email protected]
*Subject:* Matrix job: execute a certain build step for only a subset
of slaves
Hi
I have a matrix job that builds our C++ project. I use a matrix job so
that I can build simultaneously on various Linux distros, with
differing versions of the g++ compiler. I have just one axis, which
specifies the slaves.
One of the build artefacts requires a 3^rd party library that is
available only on a subset of the slaves. That artefact gets built by
one build step. How can I disable that build step for certain slaves?
Best regards
David
Click here
<https://www.mailcontrol.com/sr/5W++UreqRSPGX2PQPOmvUnFKm77zQC2tr8ayODh0ND4vm9PwH1KMQ7rLUT%21eGdu3End8qOHcEKzUfE+mA+MlhQ==>
to report this email as spam.
--
You received this message because you are subscribed to the Google
Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0B9FB230%40EX10MBX02.EU.NEC.COM
<https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0B9FB230%40EX10MBX02.EU.NEC.COM?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0B9FB624%40EX10MBX02.EU.NEC.COM
<https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0B9FB624%40EX10MBX02.EU.NEC.COM?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/563BA418.90309%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.