Update Jenkinsfile

This commit is contained in:
Stas Bezuhlyi 2021-04-01 15:16:45 +03:00 committed by GitHub
parent 1e0f525cc0
commit 0507e80833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
Jenkinsfile vendored
View file

@ -1,10 +1,5 @@
pipeline {
agent {
docker {
image 'maven:3-alpine'
args '-v /root/.m2:/root/.m2'
}
}
agent any
stages {
stage('Checkout SCM') {
@ -22,8 +17,7 @@ pipeline {
}
stage('Build') {
steps {
sh 'chmod +x ./gradlew'
sh './gradlew build -x test'
echo 'Build..'
}
}
stage('Test') {
@ -37,4 +31,4 @@ pipeline {
}
}
}
}
}