From 99f0bf32bdf9973ff5aed243189942d108156bc3 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Fri, 12 Mar 2021 02:11:14 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 868d6a9..615595b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,10 +6,14 @@ node { stage('Start argocd') { withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { // sh 'kubectl get all' - sh 'kubectl port-forward svc/argocd-server -n argocd 8080:443&' - // sh 'argocd login 127.0.0.1:8080' - sh 'argocd login 127.0.0.1:8080 --insecure --username admin --password admin' - sh 'argocd app list' + sh""" + kubectl port-forward svc/argocd-server -n argocd 8080:443& + argocd login 127.0.0.1:8080 --insecure --username admin --password admin + 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' } }