Browse Source

Update Jenkinsfile

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

12
Jenkinsfile

@ -6,10 +6,14 @@ node {
stage('Start argocd') { stage('Start argocd') {
withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') {
// sh 'kubectl get all' // sh 'kubectl get all'
sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' sh"""
// sh 'argocd login 127.0.0.1:8080' kubectl port-forward svc/argocd-server -n argocd 8080:443&
sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' argocd login 127.0.0.1:8080 --insecure --username admin --password admin
sh 'argocd app list' argocd app list
"""
// sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&'
// sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin'
// sh 'argocd app list'
} }
} }

Loading…
Cancel
Save