diff --git a/Jenkinsfile b/Jenkinsfile index 4019106..878003e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,9 +5,11 @@ pipeline { stages { stage('test') { steps { - echo "Testing the application..." - echo "Executing pipeline for branch $BRANCH_NAME" - buildJar + script { + echo "Testing the application..." + echo "Executing pipeline for branch $BRANCH_NAME" + buildJar + } } } stage('build') {