Skip to content

Commit

Permalink
Fix CI agent
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Oct 28, 2022
1 parent d95a6d1 commit 344637f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/env groovy
@Library('sd')_

def kubeLabel = getKubeLabel()

def maybeArchiveJUnitReports(){
def hasJunitReports = fileExists 'iam-login-service/target/surefire-reports'
Expand All @@ -21,7 +18,7 @@ def maybeArchiveJUnitReportsWithJacoco(){

pipeline {

agent any
agent { label 'java17' }

options {
ansiColor('xterm')
Expand Down Expand Up @@ -52,15 +49,6 @@ pipeline {
stages {

stage('build, test, package'){
agent {
kubernetes {
label "${kubeLabel}"
cloud 'Kube mwdevel'
defaultContainer 'runner'
inheritFrom 'iam-template-java17'
}
}

stages {

stage('checkout') {
Expand Down

0 comments on commit 344637f

Please sign in to comment.