mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 18:20:09 +02:00
only build master periodically
This commit is contained in:
4
services/web/Jenkinsfile
vendored
4
services/web/Jenkinsfile
vendored
@@ -1,3 +1,5 @@
|
||||
String cron_string = BRANCH_NAME == "master" ? "@daily" : ""
|
||||
|
||||
pipeline {
|
||||
|
||||
agent any
|
||||
@@ -8,7 +10,7 @@ pipeline {
|
||||
|
||||
triggers {
|
||||
pollSCM('* * * * *')
|
||||
cron('@daily')
|
||||
cron(cron_string)
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
Reference in New Issue
Block a user