diff --git a/Jenkinsfile b/Jenkinsfile index 7803902fc4097e2fbcbd3ff2fc389fdd843a844e..20d2b9c320b496f0b5d827071c45ac4314a9e913 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,9 +11,7 @@ pipeline { stage('Cleanup Workspace') { steps { cleanWs() - bat """ echo "Cleaned Up Workspace for ${APP_NAME}" - """ } } stage('Code Checkout') { @@ -25,9 +23,23 @@ pipeline { ]) } } + stage('Parallel stage) { + parallel { + stage('branche 1') { + steps { + echo "branche 1" + } + } + stage('branche 2') { + steps { + echo "branche 2" + } + } + } + } stage('Code Build') { steps { - bat 'mvn clean install -Dmaven.test.skip=true' + mvn clean install -Dmaven.test.skip=true } } stage('Printing All Global Variables') { @@ -38,9 +50,7 @@ pipeline { echo "**** Nous sommes sur l'nevironnement ${APP_ENV}" } } - bat """ - set - """ + set } } }