Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6744

Need "Good Run" parameter

XMLWordPrintable

      We have a large matrix of tests that we'd like to configure to run nightly. We have had good success running a smaller matrix of tests directly after a build by parameterizing the test job with "Run Parameter" and having build job trigger test job. In that context I can specify that I only want tests triggered on a good build. It is more difficult for the nightly. We set it up with the same "Run Parameter", except now build doesn't trigger it, but we use @midnight timer instead. That sort-of works. The issue is that the "Run Parameter" includes the build currently running and bad builds too. Odds are very good that tests will fail because they catch the build in progress with needed artifacts not available.

      We've considered using lastSuccessfulBuild URL instead of the "Run Parameter" to download build artifacts, but that doesn't really work for us. Since our test job is a matrix of jobs, different cells in the matrix could potentially run against a different build. That's not good. We'd also like the ability to invoke the nightly tests manually against a specific build.

      In short, what we'd really like is a "Good Run Parameter" that works just like the existing "Run Parameter", but is filtered to only include builds that have finished and didn't fail.

            gcummings Geoff Cummings
            ltrider ltrider
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: