<p><a href="https://plugins.jenkins.io/yet-another-build-visualizer/" rel="nofollow noreferrer">Yet Another Build Visualizer</a> shows up- und downstream builds for pipeline jobs, too.</p>
<blockquote>
<p>A Jenkins plugin that allows visualization of the build flow of upstream and downstream builds in Jenkins.</p>
</blockquote>

CC BY-SA 4.0
2023-05-19T17:29:51.653Z
this doenst seem to work for pipeline i my case
mike01010
CC BY-SA 4.0
2021-12-24T10:33:46.177Z
2021-12-27T08:08:52.610Z
2021-12-27T08:08:52.610Z
RoBeaToZ
<p>The upstream/downstream relationship is for Freestyle jobs only and does not work for Pipeline.  This is because <a href="https://issues.jenkins.io/browse/JENKINS-29913" rel="nofollow noreferrer">the internal (Java) Freestyle job API that the upstream/downstream feature uses to discover job relationships does not exist for Pipeline jobs</a>.  This also means that any 3rd-party upstream/downstream-related plugins such as the Downstream Build View plugin will not work for Pipeline jobs.</p>
<p>Since I also wanted to visualize upstream/downstream relationships for my Pipeline jobs, I ended up writing <a href="https://github.com/Poohblah/downstream-build-plugin" rel="nofollow noreferrer">a primitive plugin to do so</a> (it's a very bare-bones plugin written for my particular use case and I provide no support whatsoever; I'm just including this as an example of one way to visualize upstream/downstream relationships for Pipeline jobs).</p>

CC BY-SA 4.0
2021-08-09T16:55:01.300Z
2021-08-09T16:55:01.300Z
jayhendren
<p>I have a pipeline that ends with a step which call build() to run another pipeline, not waiting for its end.
Even when the downstream pipeline is finished, there is no downstream/upstream indication on each job page or build page.
Is there some trick to retrieve such a relationshi ?
Also, could it be possible to use the Downstream Build View plugin ?</p>
<p>Thanks for your help.
Best Regards
J.L.P.</p>

<jenkins><jenkins-plugins><pipeline>
Jenkins pipeline : How can I display a downstream / upstream relationship?
JiElPe-Fr38
# Jenkins pipeline : How can I display a downstream / upstream relationship?

(Asked by: username_0 on 2021-08-09)

I have a pipeline that ends with a step which call build() to run another pipeline, not waiting for its end.
Even when the downstream pipeline is finished, there is no downstream/upstream indication on each job page or build page.
Is there some trick to retrieve such a relationshi ?
Also, could it be possible to use the Downstream Build View plugin ?

Thanks for your help.
Best Regards
J.L.P.

**Tags:** jenkins, jenkins-plugins, pipeline


---

## 2 answers

### Answer by username_1 on 2021-12-24. Score: 2

[Yet Another Build Visualizer](https://plugins.jenkins.io/yet-another-build-visualizer/) shows up- und downstream builds for pipeline jobs, too.

> A Jenkins plugin that allows visualization of the build flow of upstream and downstream builds in Jenkins.

> **Comments:**
> **username_2**: this doenst seem to work for pipeline i my case  

---

### Answer by username_3 on 2021-08-09. Score: 2

The upstream/downstream relationship is for Freestyle jobs only and does not work for Pipeline. This is because [the internal (Java) Freestyle job API that the upstream/downstream feature uses to discover job relationships does not exist for Pipeline jobs](https://issues.jenkins.io/browse/JENKINS-29913). This also means that any 3rd-party upstream/downstream-related plugins such as the Downstream Build View plugin will not work for Pipeline jobs.

Since I also wanted to visualize upstream/downstream relationships for my Pipeline jobs, I ended up writing [a primitive plugin to do so](https://github.com/Poohblah/downstream-build-plugin) (it's a very bare-bones plugin written for my particular use case and I provide no support whatsoever; I'm just including this as an example of one way to visualize upstream/downstream relationships for Pipeline jobs).


---

