diff --git a/Jenkinsfile b/Jenkinsfile index f8ef4971e..75656fc20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,8 +9,8 @@ pipeline { } stages { - agent { label 'vps-agent1' } stage('checkStyle') { + agent { label 'vps-agent1' } when { not {branch 'main' }} steps { sh './gradlew checkstyleMain'