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

Downstream jobs not associated with upstream parent job properly

      Using the parameterized build trigger and email-ext

      1) Create downstream job that emails the requestor using email-ext
      2) Create upstream [Edit: multi-configuration only!] job that triggers downstream job using a condition to run the parameterized build trigger plugin
      3) Run upstream job: receive null ptr exception when email-ext tries to email requestor.

          [JENKINS-12410] Downstream jobs not associated with upstream parent job properly

          Joel Collins created issue -
          Joel Collins made changes -
          Component/s New: email-ext [ 15538 ]
          Component/s New: parameterized-trigger [ 15592 ]
          Component/s Original: conditional-buildstep [ 15947 ]
          Description Original: Using the parameterized build trigger, email-ext, and conditional-buildstep:

          1) Create downstream job that emails the requestor using email-ext
          2) Create upstream job that triggers downstream job using a condition to run the parameterized build trigger plugin
          3) Run upstream job: receive null ptr exception when email-ext tries to email requestor.

          This same bug used to occur without conditional-buildstep; when using the parameterized build trigger to run a downstream job the parent job would not be filled in properly. In the master branch of parameterized build trigger, this issue is fixed. (In the desciption page, the fix is: "Builds triggered as build steps will now appear as downstream builds. (issue #11082, issue #9263, issue #5184)") However, when you wrap a parameterized build trigger step in a conditional build step, the same issue still occurs where the downstream job does not have a record of which parent job triggered it.
          New: Using the parameterized build trigger and email-ext

          1) Create downstream job that emails the requestor using email-ext
          2) Create upstream [Edit: multi-configuration only!] job that triggers downstream job using a condition to run the parameterized build trigger plugin
          3) Run upstream job: receive null ptr exception when email-ext tries to email requestor.
          Alex Earl made changes -
          Component/s Original: email-ext [ 15538 ]
          Dominik Bartholdi made changes -
          Assignee Original: Dominik Bartholdi [ domi ] New: huybrechts [ huybrechts ]
          ikedam made changes -
          Link New: This issue is related to JENKINS-12300 [ JENKINS-12300 ]
          ikedam made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ken Beal made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          ikedam made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142776 ] New: JNJira + In-Review [ 190265 ]

            huybrechts huybrechts
            joelcollinsdc Joel Collins
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: