Here's a use case I have and am wondering if it's possible in Jenkins. I am setting up a build pipeline that has a few jobs linked downstream.
It looks like a typical pipeline: build -> deploy -> various tests -> publish I use Folder Templates for "Build", "Test", and "Publish", and Job Templates for each job within, so it looks something like this: Master Template - Build Folder Template --- Build Job Template --- Deploy Job Template - Test Folder Template --- Unit Test Job Template --- Regression Test Job Template - Publish Folder Template --- Publish Artifact Job Template So when I instantiate from "Master Template", I get 3 folders with jobs in each (jobs get created via the folder template's "Initial Activity" section). We build multiple apps, so there are multiple instances of this pipeline. My question is: If I want to add a new Job, for example a new type of Test, is there a way for Jenkins (via templates or otherwise), to automatically add that job to all previous instances of the pipeline? If I modify the master template then all *future* instances will have the job, but I'd need to find a way to add that job to all existing apps manually, which would be tedious. Any ideas? Thanks! -- 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/542688a0-9e03-4fc9-ac47-ff909fa964c7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
