Hmm... thanks. Did not know that.
I noticed today that the dependency graph view show double arrows from
 job A to B. Perhaps this is the cause. Will investigate.

On Thu, Feb 5, 2015 at 5:07 AM, Baptiste Mathus <[email protected]> wrote:
> Interesting. In case you don't know, squashing builds with same parameter in
> the queue is already the default behavior.
> In that case, I suppose this is due to the alternation of parameters that
> that doesn't happen.
> I guess writing a plugin for that would not be very difficult.
>
> Cheers
>
> We have a case like this:
>  JOB_A gets frequently triggered by checkins (and takes 5 minutes)
> and triggers:
>  JOB_B with PARAMETER=abc
>  JOB_B with PARAMETER=xyz
>
> So, for JOB_B I see may see an ever increasing stack of pending jobs:
>
>  JOB_B with PARAMETER=abc
>  JOB_B with PARAMETER=xyz
>  JOB_B with PARAMETER=abc
>  JOB_B with PARAMETER=xyz
>  JOB_B with PARAMETER=abc
>  JOB_B with PARAMETER=xyz
>   ....
>
>
> Is it possible to select only the latest 2 builds and exclude the rest? i.e.
> scheduling   "JOB_B with PARAMETER=abc" squashing earlier versions of this
> identical task?
>
> Thanks,
> - Stuart
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/5a53de14-c8a1-46c9-811f-19af76cf0378%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/eJxLbeKlVHo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5kJAxbLChuKmfuzh9%2B2jHu%2BwVPEta_fKts0GGpp4WVcQ%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAAy-kd%3D-fSZ%2BDuKTL-Hrh93WQ8qYb7R%2BAt3vFX_WoV8PcWsbFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to