devops
l_deloff 2023-11-19 15:10:55 +00:00
parent 6359c59af9
commit d60187cc07
1 changed files with 8 additions and 6 deletions

14
Jenkinsfile vendored
View File

@ -1,15 +1,17 @@
pipeline { pipeline {
agent { agent {
docker { docker {
image 'maven:3.9.5-eclipse-temurin-17-alpine' image 'maven:3.9.5-eclipse-temurin-17-alpine'
args '-v /root/.m2:/root/.m2' args '-v /root/.m2:/root/.m2'
} }
} }
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'mvn -B -DskipTests clean package' sh 'mvn -B clean install'
}
} }
}
} }
} }