diff --git a/Jenkinsfile b/Jenkinsfile index 8a0b464..30ef8c2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,8 +13,8 @@ pipeline { lib('fxtest@1.9') } triggers { - pollSCM('H/5 * * * *') - cron('H H * * *') + pollSCM(env.BRANCH_NAME == 'master' ? 'H/5 * * * *' : '') + cron(env.BRANCH_NAME == 'master' ? 'H * * * *' : '') } options { ansiColor('xterm')