Find my self in desperate need of a DependencyGraph class to manage my 
build transitive dependencies, called from my pipeline script.
I really hope JENKINS-29913 
<https://issues.jenkins-ci.org/browse/JENKINS-29913> will be worked on soon.

Is there any project on GitHub which have tried to implement something 
similar to DependencyGraph that would be usable on pipeline builds. I have 
already started to look into creating a DependencyGraph class for my 
shared-library, but was hoping to perhaps save some time if there is some 
code I could reuse.

mandag 7. november 2016 13.26.58 UTC+1 skrev Sverre Moe følgende:
>
> Dependency Graph is very useful to display any upstream and downstream 
> dependencies. However with Pipeline it seems no longer an option.
>
> Is there any plans for *DependencyGraph* pipeline support with 
> *WorkflowMultiBranchProject*? Since *DependencyGraph* can only work with 
> *AbstractProject*, and the closest inherited class between them is 
> *AbstractItem*.
>
> In my Pipeline script I parse the RPM spec files (looking for 
> BuildRequirements) of all Jenkins Multibranch Pipeline jobs in order to 
> create a list of upstream and downstream dependencies. This in order to 
> trigger builds, as the Pipeline equivalent of build triggers (Build other 
> projects).
>
> An ugly hack: Keep duplicate FreestyleProject of all Multibranch projects. 
> Update the build triggers of a FreestyleProject from a running pipeline 
> build.
> The FreeStyleProject does not need to do anything actually. It is just 
> there to support DependencyGraph.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/31ddb349-c99c-4ac8-b54c-95945f2d2de6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to