This commit is contained in:
Edouard DUPIN 2023-01-10 00:04:55 +01:00
parent a1be582891
commit 74102aaacc

View File

@ -17,6 +17,11 @@ pipeline {
TAG_DOCKER = getEnvName(env.BRANCH_NAME) TAG_DOCKER = getEnvName(env.BRANCH_NAME)
} }
stages { stages {
stage('Configure environment') {
steps {
sh 'pacman -S jdk-openjdk maven git'
}
}
stage('save-evironment') { stage('save-evironment') {
steps { steps {
sh 'ls -la' sh 'ls -la'
@ -30,7 +35,6 @@ pipeline {
} }
stage('(prod) Build') { stage('(prod) Build') {
steps { steps {
sh 'pacman -S jdk-openjdk maven'
sh 'mvn install' sh 'mvn install'
} }
} }