Skip to content

Commit ccfe01c

Browse files
Update Jenkinsfile (#374)
- add cron trigger - run it once a week - run it only between midnight and 5 Co-authored-by: Kevin Wallimann <[email protected]>
1 parent ae3c82e commit ccfe01c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ pipeline {
88
agent {
99
label "${hyperdriveTriggerSlaveLabel}"
1010
}
11+
triggers {
12+
cron(env.BRANCH_NAME == 'develop' ? 'H H(0-5) * * 0' : '')
13+
}
1114
tools {
1215
jdk "${toolVersionJava}"
1316
maven "${toolVersionMaven}"

0 commit comments

Comments
 (0)