diff --git a/Jenkinsfile b/Jenkinsfile index e71b157..8b68463 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,5 @@ pipeline { - agent any + agent none stages { stage('Check out') { agent any @@ -8,6 +8,7 @@ pipeline { } } stage('Deploy Helm') { + agent any steps { withCredentials([usernamePassword(credentialsId: 'github-qas-labs', passwordVariable: 'gitpass', usernameVariable: 'gituser')]) { sh "git clone https://$gituser:$gitpass@github.com/byangtri/argocd-example-apps.git"