Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Amits64 authored Aug 5, 2024
1 parent b0dc8fd commit 254345f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ pipeline {
steps {
script {
dir('crud-app') {
// Debugging step to print Helm version
sh 'helm version'

def releaseExists = sh(returnStatus: true, script: 'helm ls | grep -q ${image}') == 0
if (releaseExists) {
sh 'helm delete ${image}'
Expand Down

0 comments on commit 254345f

Please sign in to comment.