Added Jenkinsfile

This commit is contained in:
Demian 2020-04-03 21:13:48 -03:00
parent fd1618b125
commit a9a14b2781

24
Jenkinsfile vendored
View file

@ -1,15 +1,17 @@
pipeline { pipeline {
agent { agent {
docker { docker {
image 'maven:alpine' image 'maven:alpine'
args '-v /root/.m2:/root/.m2' args '-v /root/.m2:/root/.m2'
}
} }
stages {
stage('Build') { }
steps { stages {
sh 'mvn clean install -Dlicense.skip=true' stage('Build') {
} steps {
} sh 'mvn clean install -Dlicense.skip=true'
}
} }
}
} }