diff --git a/Jenkinsfile b/Jenkinsfile index 48349acf2..0ed9ac64b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,7 +87,7 @@ pipeline { steps { withCredentials([file(credentialsId: "${kubeconfig}", variable: 'config')]){ sh('cp $config '+"$home"+'/.kube/config') - sh 'kubectl rollout restart deployment/qa-frontend -n sme-ptrf-qa' + sh 'kubectl rollout restart deployment/treinamento-frontend -n sigescola-treinamento' sh('if [ -f '+"$home"+'/.kube/config ]; then rm -f '+"$home"+'/.kube/config; fi') } } @@ -97,7 +97,7 @@ pipeline { steps { withCredentials([file(credentialsId: "${kubeconfig}", variable: 'config')]){ sh('cp $config '+"$home"+'/.kube/config') - sh 'kubectl rollout restart deployment/treinamento-frontend -n sigescola-treinamento' + sh 'kubectl rollout restart deployment/qa-frontend -n sme-ptrf-qa' sh('if [ -f '+"$home"+'/.kube/config ]; then rm -f '+"$home"+'/.kube/config; fi') } }