Browse Source

Update Jenkinsfile

pull/79/head
Megha Mehta 4 years ago
committed by GitHub
parent
commit
5507719264
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Jenkinsfile

4
Jenkinsfile

@ -3,7 +3,7 @@ node {
properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '3', numToKeepStr: '7'))])
stage('Start argocd') {
withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') {
// withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') {
withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
sh"""
kubectl port-forward svc/argocd-server -n argocd 8080:443&
@ -11,7 +11,7 @@ node {
argocd app list
"""
}
}
// }
}
stage('Create app') {

Loading…
Cancel
Save