From a026af6e2f8676b3bb6070647ee1f4bfef1e4fb1 Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Sat, 7 Nov 2020 16:56:56 +0000 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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') {