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

trigger-parameterized-builds doesn't propagate results upstream

XMLWordPrintable

      Jenkins ver. 2.121.3

      Parameterized Trigger Plugin v2.35.2

      My config is as follows (using Jenkins Job Builder):

      ```
      publishers:

      • trigger-parameterized-builds:
      • project: runtest
        block: true
        current-parameters: true
        node-label: '$SLAVE_VM_NAME'
        condition: 'SUCCESS'
        fail-on-missing: true
        ```

      I can see the "runtest" job triggered and executing. It also looks like it is successfully blocking the current job although I couldn't find the `block` parameter documented.

      However my "runtest" job failed but the status of the upstream job was still SUCCESS! This breaks the entire pipeline I am trying to build.

      FTR using builders.trigger-builds with block=true does propagate the results properly but I am unable to use it due to other constraints (other downstream jobs require artifacts from the current job which we need to upload BEFORE the runtest job is started).

            Unassigned Unassigned
            atodorov Alexander Todorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: