diff --git a/Jenkinsfile b/Jenkinsfile index 410fe5a3e..7ac23bf8a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,11 @@ +@Library('k8sAgents') agentLibrary +@Library('auth0') _ + pipeline { agent { - label 'crew-brucke' + kubernetes { + yaml defaultAgent() + } } tools { @@ -12,14 +17,6 @@ pipeline { } stages { - stage('SharedLibs') { - steps { - library identifier: 'auth0-jenkins-pipelines-library@master', retriever: modernSCM( - [$class: 'GitSCMSource', - remote: 'git@github.com:auth0/auth0-jenkins-pipelines-library.git', - credentialsId: 'auth0extensions-ssh-key']) - } - } stage('Build') { steps { sshagent(['auth0extensions-ssh-key']) {