Restore CI build and deploy

pull/1611/head
Enrico Vianello 2023-07-12 19:36:41 +02:00
parent 1329edd6ae
commit 415cd2e41c
1 changed files with 3 additions and 14 deletions

17
Jenkinsfile vendored
View File

@ -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,11 +13,9 @@ pipeline {
stages {
stage('deploy'){
stage('deploy') {
steps {
container('runner'){
sh "mvn -U -B clean deploy"
}
sh "mvn -U -B clean deploy"
}
}