diff --git a/jenkins/public_tests_all.Jenkinsfile b/jenkins/public_tests_all.Jenkinsfile index 3a99aec191..d1e70c5d9e 100644 --- a/jenkins/public_tests_all.Jenkinsfile +++ b/jenkins/public_tests_all.Jenkinsfile @@ -1,4 +1,4 @@ -@Library('utils@orfs-v2.1.0') _ +@Library('utils@orfs-dev') _ node { @@ -11,8 +11,8 @@ node { branches: [[name: scm.branches[0].name]], doGenerateSubmoduleConfigurations: false, extensions: [ - [$class: 'CloneOption', noTags: false], - [$class: 'SubmoduleOption', recursiveSubmodules: true] + [$class: 'CloneOption', noTags: false], + [$class: 'SubmoduleOption', recursiveSubmodules: true] ], submoduleCfg: [], userRemoteConfigs: scm.userRemoteConfigs @@ -21,11 +21,10 @@ node { else { checkout scm; } - def description = sh(script: "git log -1 --pretty=%B", returnStdout: true).trim(); - if (description.contains('ci') && description.contains('skip')) { - currentBuild.result = 'SKIPPED'; // 'SUCCESS', 'SKIPPED' - return; - } + } + + if (skipCI()) { + return; } def DOCKER_IMAGE;