I think that this is a problem with the rebuild plugin.  It should be 
adding a UserCause to the chain.  However, this would technically change 
the build if that build was relying on the state of how the build was 
triggered.  Maybe rebuild could annotate the SCM badge with a special note 
if BTB has also been installed.

On Friday, October 2, 2015 at 3:45:16 PM UTC-4, Baptiste Mathus wrote:
>
> Hi,
>
> I'm a maintainer on the buildtriggerbadge plugin (named BTB hereafter). 
> I've received a request from a user about the behaviour of my plugin wrt to 
> using rebuild. And I've found this is seemingly actually more a Rebuild 
> question to enable something in BTB in the end.
>
> Here's the case:
>
> * a build was triggered with say a SCM cause, hence the build has a SCM 
> badge thanks to BTB.
> * Then the user clicks on "Rebuild last"
> * the newly executed build, though manually started, has a SCM cause 
> badge. (Since Rebuild seems to also reuse the previous cause.)
>
> So, the question is: as a user, would you indeed expect Rebuild to reuse 
> just everything like currently? Or better just reuse the parameters (, and 
> not somehow more internal things like the cause)?
>
> To the Rebuild plugin maintainers: is this behaviour on purpose or 
> something that just never surfaced before?
>
> Thanks a lot.
>
> -- 
> Baptiste
>

-- 
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/c5c7f92c-d61b-418a-8293-d3a54321bdb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to