Skip to content

Commit

Permalink
chore: migrate jenkins job to k8s agent pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
xmanwms95 committed Feb 27, 2024
1 parent 96f87ae commit 2650fd7
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@Library('k8sAgents') agentLibrary
@Library('auth0') _

pipeline {
agent {
label 'crew-brucke'
kubernetes {
yaml defaultAgent()
}
}

tools {
Expand All @@ -12,14 +17,6 @@ pipeline {
}

stages {
stage('SharedLibs') {
steps {
library identifier: 'auth0-jenkins-pipelines-library@master', retriever: modernSCM(
[$class: 'GitSCMSource',
remote: '[email protected]:auth0/auth0-jenkins-pipelines-library.git',
credentialsId: 'auth0extensions-ssh-key'])
}
}
stage('Build') {
steps {
sshagent(['auth0extensions-ssh-key']) {
Expand Down

0 comments on commit 2650fd7

Please sign in to comment.