We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce00e1 commit c4b9293Copy full SHA for c4b9293
Jenkinsfile
@@ -1,5 +1,7 @@
1
#!/usr/bin/env groovy
2
3
+def schedule = env.BRANCH_NAME.contains('master') ? '@monthly' : env.BRANCH_NAME == 'develop' ? '@midnight' : ''
4
+
5
pipeline {
6
7
agent any
@@ -19,7 +21,7 @@ pipeline {
19
21
}
20
22
23
triggers {
- cron(env.BRANCH_NAME == 'develop' ? '@midnight' : '')
24
+ cron(schedule)
25
26
27
tools {
0 commit comments