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

Support visualization of downstream pipelines in Jenkins pipeline based views

      If I have a pipeline job (formerly workflow) Foo, that then triggers another pipeline job Bar, it does not get reflected in the delivery pipeline view. Job Bar is triggered as a build step in my job, for example:

      Job Foo:

      stage('Building') {
          println 'Triggering Bar'
          build 'Bar'
      }
      

      Job Bar:

      node('master') {
          stage('Child job stage') {
              println 'Doing stuff in child job'
          }
      }
      

      Only the Foo pipeline job and its steps are displayed in the delivery pipeline view:

      In this case, both Foo and Bar should have appeared as separate entities on the delivery pipeline view.

        1. teamcityView.png
          teamcityView.png
          24 kB
        2. pipeline view.png
          pipeline view.png
          12 kB
        3. mtldP.png
          mtldP.png
          6 kB

          [JENKINS-43679] Support visualization of downstream pipelines in Jenkins pipeline based views

          Martin created issue -
          Martin made changes -
          Description Original: If I have a pipeline job (formerly workflow) Foo, that then triggers another pipeline job Bar, it does not get reflected in the delivery pipeline view. Job bar is triggered as a build step in my job, for example:

          Job Foo:
          {code:java}
          stage('Building') {
              println 'Triggering Bar'
              build 'Bar'
          }
          {code}
          Job Bar:
          {code:java}
          node('master') {
              stage('Child job stage') {
                  println 'Doing stuff in child job'
              }
          }
          {code}
          Only the Foo pipeline job and its steps are displayed in the delivery pipeline view:

          !mtldP.png!

          In this case, both Foo and Bar should have appeared as separate entities on the delivery pipeline view.
          New: If I have a pipeline job (formerly workflow) Foo, that then triggers another pipeline job Bar, it does not get reflected in the delivery pipeline view. Job Bar is triggered as a build step in my job, for example:

          Job Foo:
          {code:java}
          stage('Building') {
              println 'Triggering Bar'
              build 'Bar'
          }
          {code}
          Job Bar:
          {code:java}
          node('master') {
              stage('Child job stage') {
                  println 'Doing stuff in child job'
              }
          }
          {code}
          Only the Foo pipeline job and its steps are displayed in the delivery pipeline view:

          !mtldP.png!

          In this case, both Foo and Bar should have appeared as separate entities on the delivery pipeline view.
          Tommy Tynjä made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Tommy Tynjä made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Tommy Tynjä made changes -
          Assignee Original: Patrik Boström [ patbos ]
          Martin made changes -
          Attachment New: pipeline view.png [ 37410 ]
          Tommy Tynjä made changes -
          Issue Type Original: Improvement [ 4 ] New: New Feature [ 2 ]
          Tommy Tynjä made changes -
          Summary Original: Downstream pipelines are not displayed New: Support visualization of downstream pipelines in Jenkins pipeline based views
          Federico Naum made changes -
          Attachment New: teamcityView.png [ 40539 ]

            Unassigned Unassigned
            martinmine Martin
            Votes:
            9 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: