java-spring-microservice/Jenkinsfile
Jim Nicholson 6a9037a2cf
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
Where is trust?
2021-12-09 22:38:33 -08:00

26 lines
449 B
Groovy

podTemplate(containers: [
containerTemplate(
name: 'maven',
image: 'maven:3.8.4-openjdk-11',
command: 'sleep',
args: '30d'
)
]) {
node(POD_LABEL) {
stage('Checkout') {
sh '''
ls -l /etc/ssl/certs
wget https://git.thejimnicholson.com
'''
checkout scm
container('maven') {
stage('Build') {
sh '''
mvn clean package
'''
}
}
}
}
}