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