is checkout necessary
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3b85dbcf56
commit
0ae0351c9d
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,14 +1,15 @@
|
|||||||
podTemplate(containers: [
|
podTemplate(containers: [
|
||||||
containerTemplate(
|
containerTemplate(
|
||||||
name: 'maven',
|
name: 'maven',
|
||||||
image: 'maven:3.8.1-jdk-11',
|
image: 'maven:3.8.4-openjdk-11',
|
||||||
command: 'sleep',
|
command: 'sleep',
|
||||||
args: '30d'
|
args: '30d'
|
||||||
)
|
)
|
||||||
]) {
|
]) {
|
||||||
node(POD_LABEL) {
|
node(POD_LABEL) {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
checkout scm
|
|
||||||
|
|
||||||
container('maven') {
|
container('maven') {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
sh '''
|
sh '''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user