Update Jenkinsfile

This commit is contained in:
Demian 2020-04-02 11:19:30 -03:00
parent 90271b2664
commit 02a4982ef3

21
Jenkinsfile vendored
View file

@ -1,11 +1,16 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'mvn clean install -Dlicense.skip=true'
}
agent {
docker {
label 'linux'
image 'maven:3-alpine'
args '-v /root/.m2:/root/.m2'
}
}
stages {
stage('Build') {
steps {
sh 'mvn -B -DskipTests clean package'
}
}
}
}
}