• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jenkins Plugin

 
Ranch Hand
Posts: 142
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
Is there are plugin that will delete a job from the queue if we start a job of the same type.
Basically if I were to start a incremental build job on a commit from the SCM on a post commit hook and it goes in the queue to wait till the current job is completed. Then another developer commits some code this will queue 2 build jobs of the same type. What I want to do is to delete the first job from the queue up . Is there a Plugin for this ? if not is there another way to achieve this ?

Thanks
 
Ranch Hand
Posts: 814
Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why you want to delete a job from queue?
 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the incremental for the projects take almost 2 hours to build. So I do not want multiple incremental builds to queue up.


Thanks
 
author & internet detective
Posts: 41907
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the Concurrent Run Blocker do what you want? It prevents jobs from being scheduled rather than removing them from the queue, but the effect is the same.
 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes the Concurrent Run Blocker plugin would almost be Okay but I want the latest checkin to trigger a build after the current build is complete.

Thanks
 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne ,
I am not able to apply/download this plugin . Can you please let me know where I can get it from.

Thanks
-Meherdad


 
Jeanne Boyarsky
author & internet detective
Posts: 41907
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Meherdad Bomanbehram wrote:Hi Jeanne ,
I am not able to apply/download this plugin . Can you please let me know where I can get it from.


You can get it from the Jenkins update site. Just download the hpi file. Then you can upload it directly to your Jenkins browser install. (Manage Jenkins > Manage Plugins)
 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:

Meherdad Bomanbehram wrote:Hi Jeanne ,
I am not able to apply/download this plugin . Can you please let me know where I can get it from.


You can get it from the Jenkins update site. Just download the hpi file. Then you can upload it directly to your Jenkins browser install. (Manage Jenkins > Manage Plugins)




Hi
This is concurrent login plugin I require Concurrent run blocker

Thanks
 
Jeanne Boyarsky
author & internet detective
Posts: 41907
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry about that. I don't see that plugin packaged anywhere. You could build it yourself. Since there isn't much out there on it, I'd be careful using it. It could be buggy or have other issues.
 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Sorry about that. I don't see that plugin packaged anywhere. You could build it yourself. Since there isn't much out there on it, I'd be careful using it. It could be buggy or have other issues.



Thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic