BLD use docker as build agent
de.nclazz/maven-boot/pipeline/head There was a failure building this commit Details

develop
Niclas Thobaben 2020-11-30 21:26:14 +01:00
parent 25099dbeb9
commit a17e8c13d6
1 changed files with 4 additions and 1 deletions

5
Jenkinsfile vendored
View File

@ -1,9 +1,12 @@
pipeline {
agent any
agent {
docker { image: maven:adoptopenjdk }
}
stages {
stage('Build') {
steps {
sh 'mvn --version'
sh 'mvn clean package'
}
}