diff --git a/ci/snapshot-publish.Jenkinsfile b/ci/snapshot-publish.Jenkinsfile index eb7aaf4bf8..946a6fd2d0 100644 --- a/ci/snapshot-publish.Jenkinsfile +++ b/ci/snapshot-publish.Jenkinsfile @@ -20,9 +20,7 @@ pipeline { options { rateLimitBuilds(throttle: [count: 1, durationName: 'hour', userBoost: true]) buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '3')) - } - triggers { - cron 'H * * * *' + disableConcurrentBuilds(abortPrevious: true) } stages { stage('Checkout') { @@ -55,7 +53,7 @@ pipeline { post { always { configFileProvider([configFile(fileId: 'job-configuration.yaml', variable: 'JOB_CONFIGURATION_FILE')]) { - notifyBuildResult maintainers: (String) readYaml(file: $env.JOB_CONFIGURATION_FILE).notification?.email?.recipients + notifyBuildResult maintainers: (String) readYaml(file: env.JOB_CONFIGURATION_FILE).notification?.email?.recipients } } }