How does "Build whenever a SNAPSHOT dependency is built" work?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How does "Build whenever a SNAPSHOT dependency is built" work?

Aaron Digulla
Hello,

Is there documentation how this feature works?

I'm especially interested how it behaves when jobA builds a branch X for project A and project B has a dependency on A. Both A and B are multi-branch pipeline projects.

Will that trigger a build of branch X of B or "build all branches of B"?

Regards,

Aaron Digulla

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/77b48911-4338-452f-a759-9058d3864902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How does "Build whenever a SNAPSHOT dependency is built" work?

Cyrille Le Clerc
Hello Aaron,

If all your downstream branches have a dependency on the same upstream snapshot version, then yes, all downstream pipelines will be triggered, we don't differentiate on the branch identifier.

Did you expect a different behaviour? Wouldn't all the branches of the downstream job deserve to be triggered?

Cyrille



On Wednesday, April 10, 2019 at 1:15:26 PM UTC+2, Aaron Digulla wrote:
Hello,

Is there documentation how this feature works?

I'm especially interested how it behaves when jobA builds a branch X for project A and project B has a dependency on A. Both A and B are multi-branch pipeline projects.

Will that trigger a build of branch X of B or "build all branches of B"?

Regards,

Aaron Digulla

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0bf0aa57-c49d-4273-9963-dd04cfdd26de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.