There is a matrix plugin that will allow you to run a job on all nodes with a specific label. It is the ElasticAxis plugin. I find it quite helpful. It allows me to run git client plugin and git plugin tests on every slave currently available.
There is a plugin that will allow you to provide configuration files (like settings.xml) from the Jenkins server to each job using a Maven build step (selectively). It is the config file provider plugin. Neither of those exactly meet your request, but you might consider them as part of the toolbox of plugins to solve problems. Mark Waite On Fri, Oct 16, 2015 at 8:24 AM Justin <[email protected]> wrote: > Awesomesauce. Thanks. > > On Thursday, October 15, 2015 at 4:47:42 PM UTC-5, Justin wrote: >> >> 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/92743c85-79c5-4e07-9839-183db6e2c072%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/92743c85-79c5-4e07-9839-183db6e2c072%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/CAO49JtG%3DiAVd0AXD88vHGt0gQe8eR6hcXY5y4Oz2k8pva4v1zw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
