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

A project is only triggered for one parametrized configuration not all configured items.

XMLWordPrintable

      A project is only triggered for one parametrized configuration not all configured items.

      test case:
      Create freestyle jobs A, B, C.
      Job B and C should just echo P as a build step.

      In job A configure the post build item "Trigger parameterized build on other projects"
      with the following
      Trigger 1:
      job B
      trigger when STABLE
      Predefined Parameter:
      P=STABLE

      Trigger 2:
      job C
      trigger when UNSTABLE
      Predefined Parameter:
      P=UNSTABLE

      Trigger 3:
      job C
      trigger when FAILED
      Predefined Parameter:
      P=FAILED

      Now Run Job A, with the results
      Stable,
      Job B started.

      Unstable
      Job C started "UNSTABLE" echoed

      Failure
      Job C is not started

      We would expect that job C would start in both the unstable and Failure cases echoing the differing parameters.

            huybrechts huybrechts
            cjo9900 cjo9900
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: