Cron expressions are now Branch related

master
Patryk Gudalewicz 2022-07-11 14:02:28 +02:00
parent edb38e9a80
commit 54702310dc
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -34,7 +34,9 @@
//cron('0 8 * * *')
//every monday at 08:00
cron('0 8 * * 1')
//cron('0 8 * * 1')
//Branch related
cron(env.BRANCH_NAME == 'staging' ? '0 8 * * 1' : '')
}