Commit 4fcd9a4f authored by Josh Steinberg's avatar Josh Steinberg

remove dupliation

parent 932ab8cc
...@@ -70,19 +70,5 @@ pipeline { ...@@ -70,19 +70,5 @@ pipeline {
} }
} }
} }
// stage("Build Docker Image and Helm Deploy to Kubernetes"){
// agent { label "docker-jenkins"}
// steps{
// git url:'https://gitlab.mynisum.com/jsteinberg/hello-world-spring-boot.git', branch: 'main'
// sh 'mvn install'
// sh 'docker build -t hello-world .'
// }
// }
} }
}
// ssh root@${REMOTE_AGENT} "gcloud container clusters get-credentials my-gke-cluster --region us-west2 --project flash-griffin-353219 && kubectl get pods -A"
// ssh root@${REMOTE_AGENT} "echo ${DOCKER_HUB_CRED_PSW} | docker login -u ${DOCKER_HUB_CRED_USR} --password-stdin"
// ssh root@${REMOTE_AGENT} "docker build -t nisumglin/${IMAGE_NAME}:latest /artifact && docker push nisumglin/${IMAGE_NAME}:latest"
// ssh root@${REMOTE_AGENT} "helm uninstall hello-spring || sleep 1; sleep 30; helm install hello-spring /artifact/helm;"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment