Skip to content

Commit 92a1c2c

Browse files
committed
Jenkinsfile: restrict nightly cron to 1:00 - 5:00
1 parent a814c02 commit 92a1c2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// dev branch only: every 30 minutes at night (0:00 - 6:00)
2-
String cronSchedule = BRANCH_NAME == 'dev' ? '*/30 0-6 * * *' : ''
1+
// dev branch only: every 30 minutes at night (1:00 - 5:00)
2+
String cronSchedule = BRANCH_NAME == 'dev' ? '*/30 1-5 * * *' : ''
33

44
// https://jenkins.io/doc/book/pipeline/syntax/
55
pipeline {

0 commit comments

Comments
 (0)