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

Build Step Jobs are placed after Post Build Action Jobs in delivery

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Jenkins 1.610
      Delivery Pipeline Plugin 0.9.5
      Parameterized Trigger 2.28
    • Similar Issues:

      Description

      For Example (using Parameterized Trigger for both):
      Job A calls Job Util 1 and Job Util 2 as build steps.
      If Successful, as a post build action, Job C is called to continue the pipeline.

      The order of execution is Job A -> Job Util 1 -> Job Util 2 -> Job C.
      The Pipeline Stage looks like this:
      Job A
      Job C
      Job Util 1
      Job Util 2

      Is it a bug that they are not laid out in the order they are executed?

        Attachments

          Activity

          Hide
          cfontes Cristiano Fontes added a comment -

          Second this, just released my delivery pipeline and It's really confusing for management people, they went crazy over this.

          Show
          cfontes Cristiano Fontes added a comment - Second this, just released my delivery pipeline and It's really confusing for management people, they went crazy over this.
          Hide
          patbos Patrik Boström added a comment -
          Show
          patbos Patrik Boström added a comment - Created a PR with a proposed fix. https://github.com/Diabol/delivery-pipeline-plugin/pull/168
          Hide
          cfontes Cristiano Fontes added a comment - - edited

          That is Great! Thanks.

          Also note that Join plugin triggered jobs also show in the middle while it should be the last one to show since they only are called after all other jobs are finished.

          Show
          cfontes Cristiano Fontes added a comment - - edited That is Great! Thanks. Also note that Join plugin triggered jobs also show in the middle while it should be the last one to show since they only are called after all other jobs are finished.
          Hide
          tommysdk Tommy Tynjä added a comment -

          Proposed fix has been incorporated to mainline.

          Show
          tommysdk Tommy Tynjä added a comment - Proposed fix has been incorporated to mainline.

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              prstell Patrick Ryan
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: