Adding Jenkinsfile to support pipeline build.

This commit is contained in:
Demian 2020-03-31 18:44:24 -03:00
parent 56f09331aa
commit bdbcdc1c38

15
jenkinsfile Normal file
View file

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