I want to run jobs in between build events

25 views
Skip to first unread message

myke

unread,
Apr 13, 2016, 4:20:28 AM4/13/16
to Jenkins Users
Looking for ideas.......

I have build events which do not have a fixed time between events
I have downstream jobs running tests after each build.
Thereafter my environment is doing nothing until the next build event (could be multiple days)
I want my test environment to make use of the quiet periods

Following the downstream test job I would like to run another job. 
It would be great if this new job could be terminated in some way so as not to interfere with the next build job when it happens

I have looked at plugin's but cant find a good fit.
I would appreciate any ideas out there please
Myke

Maciej Jaros

unread,
May 2, 2016, 1:40:17 PM5/2/16
to jenkins...@googlegroups.com
myke (2016-04-13 10:20):
You can schedule your build with `H` for minute and hour. This will run a job in a quiet period. Some examples are in contextual help in job configuration.

Not sure how would you automatically kill a job though... But I wouldn't do that automatically. It's easy to do it manually from build queue and I wouldn't kill a long running job when it's nearing the end of execution.

Regards,
Nux.

iosif neitzke

unread,
May 2, 2016, 2:12:02 PM5/2/16
to jenkins...@googlegroups.com
Point of information for clarity: the 'H' in crontab hash syntax [0]
is conceptually different than SCM 'Quiet Periods' [1].

[0] https://issues.jenkins-ci.org/browse/JENKINS-17311

[1] https://jenkins.io/blog/2010/08/11/quiet-period-feature/
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/425de5da-dc09-b04f-110e-2bec0f91b701%40mol.com.pl.
>
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages