Skip to content
Snippets Groups Projects
Commit 644733b3 authored by KPOTY Kpotivi's avatar KPOTY Kpotivi
Browse files

Update Jenkinsfile

parent 88cff114
No related branches found
No related tags found
No related merge requests found
...@@ -11,9 +11,7 @@ pipeline { ...@@ -11,9 +11,7 @@ pipeline {
stage('Cleanup Workspace') { stage('Cleanup Workspace') {
steps { steps {
cleanWs() cleanWs()
bat """
echo "Cleaned Up Workspace for ${APP_NAME}" echo "Cleaned Up Workspace for ${APP_NAME}"
"""
} }
} }
stage('Code Checkout') { stage('Code Checkout') {
...@@ -25,9 +23,23 @@ pipeline { ...@@ -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') { stage('Code Build') {
steps { steps {
bat 'mvn clean install -Dmaven.test.skip=true' mvn clean install -Dmaven.test.skip=true
} }
} }
stage('Printing All Global Variables') { stage('Printing All Global Variables') {
...@@ -38,9 +50,7 @@ pipeline { ...@@ -38,9 +50,7 @@ pipeline {
echo "**** Nous sommes sur l'nevironnement ${APP_ENV}" echo "**** Nous sommes sur l'nevironnement ${APP_ENV}"
} }
} }
bat """
set set
"""
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment