Skip to content

Commit 7261b07

Browse files
Updated Jenkinsfile
1 parent 5024f17 commit 7261b07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

JenkinsFileKubernetes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,14 @@ pipeline
6262
sh "sed -i 's/Build_Tag/${buildNumber}/g' MavenWebApplication.yaml"
6363
}
6464
}
65+
66+
stage("Deploy Application in AWS EKS Cluster")
67+
{
68+
steps()
69+
{
70+
sh 'kubectl delete deployment webpage-deployment -n production || true'
71+
sh 'kubectl apply -f webpage-deployment'
72+
}
73+
}
6574
}
6675
}

0 commit comments

Comments
 (0)