Hi!
I want to have jobs that run at a specified cadence (say every 2 hours). I 
know that this is possible via cron syntax, and have this setup for a 
variety of jobs. However, I have somewhat specific requirements. I've 
looked around to try to figure out how to do this, but I've been coming up 
dry. Is there a way for me to be able to have the following requirements 
for a scheduled, reoccurring job? :

* Do not allow any other builds to be scheduled on the Jenkins agent / node 
even though an agent has multiple executors. For example, two builds finish 
up on one agent, and then my Jenkins job runs. No other build / job runs on 
the agent despite there being only one executor used, because my cron job 
dictates that it can be the only job running on the agent at that time.
* Make sure that the job runs on all available Jenkins agents. I.e., if I 
have four agents, I want to make sure it is scheduled to run on each node 
at a two hour cadence. 

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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f8062284-1d09-4974-a787-e1d124e8e1db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to