Hi, What you are looking for is Parametrized Trigger plugin + NodeLabel Parameter plugin, using https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin#NodeLabelParameterPlugin-BuildParameterFactory
Vincent 2015-10-15 23:47 GMT+02:00 Justin <[email protected]>: > We run our Jenkins nodes with a service account that has a a > network-mounted home directory. I don't want to rely on that account's > ~/.m2/settings.xml (beacuse people can and do periodically mess it up), so > we have deployed a templated copy into Artifactory. Downloading that file > populates the encrypted password and some other site-specific settings. So > I'm looking for a way to have all my Maven build nodes get the settings.xml > from Artifactory so that our Maven jobs can have a standardized custom path > to set. > > As I understand it, I can't have a matrix job that runs on *all* nodes > with a given label, it will just pick one node with that label instead. I > can have a job that runs on the server to pull the file from Artifactory > into $JENKINS_HOME/userContent, and then use the Copy to Slave plugin, > and set the Maven build options to use ${WORKSPACE}/settings.xml. Anybody > have any caveats from prior experience with that method? Is there a better > alternative? > > -- > 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/376e7905-86d2-4b19-b732-ad1d18ceb810%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/376e7905-86d2-4b19-b732-ad1d18ceb810%40googlegroups.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/CAH-zGChLBJ9evWpGYTRp9T7XazNrT5DFJb_0q_5f%2B4Obp-5-4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
