diff --git a/Jenkinsfile b/Jenkinsfile index e45c414a75..ce4215405c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ stage('Initialization') { echo sh(script: 'env|sort', returnStdout: true) def githubComment = env.ghprbCommentBody - if (githubComment == 'null') { + if (githubComment == 'null' || !githubComment.trim().startsWith('@jenkins-cscs')) { machinesToRun = machinesList currentBuild.result = 'SUCCESS' return