How to abort previously old job when there is new gerrit patch

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

How to abort previously old job when there is new gerrit patch

zhaobo liu
The jenkins version is 2.67 and I already upgraded jenkin plugin "Gerrit Trigger" to latest 2.26.2 version.
I want to launch new job when I have new gerrit patch set but need to abort old jobs by previous patch set.
in global Jenkins -> Manage Jenkins ->Gerrit Trigger, I saw only
No. of Receiving Worker Thread
Replication Cache Expiration

in specific job-> Configure -> Gerrit Trigger ->PatchSet created, I saw only three options:
Exclude Drafts
Exclude Trivial Rebase
Exclude No Code Chang

I googled search https://bugs.eclipse.org/bugs/show_bug.cgi?id=450031
I couldn't find Build Current Patches Only this option.

thanks

--
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/bc64bf5f-72d5-4da2-8ec0-fd30cf756d90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to abort previously old job when there is new gerrit patch

zhaobo liu
forget about this topic. in global Jenkins -> Manage Jenkins ->Gerrit Trigger->Add New Server, I see "Build Current Patches Only".
for existing server, just press "Edit" button.

On Monday, November 13, 2017 at 1:36:49 PM UTC-8, zhaobo liu wrote:
The jenkins version is 2.67 and I already upgraded jenkin plugin "Gerrit Trigger" to latest 2.26.2 version.
I want to launch new job when I have new gerrit patch set but need to abort old jobs by previous patch set.
in global Jenkins -> Manage Jenkins ->Gerrit Trigger, I saw only
No. of Receiving Worker Thread
Replication Cache Expiration

in specific job-> Configure -> Gerrit Trigger ->PatchSet created, I saw only three options:
Exclude Drafts
Exclude Trivial Rebase
Exclude No Code Chang

I googled search <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=450031" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fbugs.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D450031\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGbi0ij2Cni2MkPavyB1cCWmR0t_g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fbugs.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D450031\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGbi0ij2Cni2MkPavyB1cCWmR0t_g&#39;;return true;">https://bugs.eclipse.org/bugs/show_bug.cgi?id=450031
I couldn't find Build Current Patches Only this option.

thanks

--
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/a3e584a3-3cf2-40e0-a93f-694c3a7dae6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.