Restore CI build and deploy
parent
1329edd6ae
commit
415cd2e41c
|
@ -1,17 +1,8 @@
|
||||||
#!/usr/bin/env groovy
|
#!/usr/bin/env groovy
|
||||||
@Library('sd')_
|
|
||||||
def kubeLabel = getKubeLabel()
|
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
agent {
|
agent { label 'java11' }
|
||||||
kubernetes {
|
|
||||||
label "${kubeLabel}"
|
|
||||||
cloud 'Kube mwdevel'
|
|
||||||
defaultContainer 'runner'
|
|
||||||
inheritFrom 'ci-template'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
options {
|
options {
|
||||||
timeout(time: 1, unit: 'HOURS')
|
timeout(time: 1, unit: 'HOURS')
|
||||||
|
@ -22,11 +13,9 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
stage('deploy'){
|
stage('deploy') {
|
||||||
steps {
|
steps {
|
||||||
container('runner'){
|
sh "mvn -U -B clean deploy"
|
||||||
sh "mvn -U -B clean deploy"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue