Update CI configuration
parent
e3392dd759
commit
4897baf8f3
|
@ -1,7 +1,14 @@
|
||||||
#!/usr/bin/env groovy
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'maven' }
|
agent {
|
||||||
|
kubernetes {
|
||||||
|
label "oidc-java-sprint-server-${env.JOB_BASE_NAME}-${env.BUILD_NUMBER}"
|
||||||
|
cloud 'Kube mwdevel'
|
||||||
|
defaultContainer 'jnlp'
|
||||||
|
inheritFrom 'ci-template'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
timeout(time: 1, unit: 'HOURS')
|
timeout(time: 1, unit: 'HOURS')
|
||||||
|
@ -14,7 +21,7 @@ pipeline {
|
||||||
|
|
||||||
stage('deploy'){
|
stage('deploy'){
|
||||||
steps {
|
steps {
|
||||||
container('maven-runner'){
|
container('runner'){
|
||||||
sh "mvn -U -B clean deploy"
|
sh "mvn -U -B clean deploy"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue