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 { pipeline {
agent any agent {
stages { docker {
stage('Build') { label 'linux'
steps { image 'maven:3-alpine'
sh 'mvn clean install -Dlicense.skip=true' args '-v /root/.m2:/root/.m2'
} }
}
stages {
stage('Build') {
steps {
sh 'mvn -B -DskipTests clean package'
}
}
} }
}
} }