Skip to content

Commit 0395881

Browse files
author
lerndevops
authored
Update cicdjfile
1 parent 5df62d1 commit 0395881

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cicdjfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ pipeline {
6666
sh 'sed -e "s/bno/"$BUILD_NUMBER"/g" deploy/sampleapp-deploy-k8s.yml'
6767
sh 'sed -i "s/bno/\'"$BUILD_NUMBER"\'/g" deploy/sampleapp-deploy-k8s.yml'
6868
sh 'kubectl apply -f deploy/sampleapp-deploy-k8s.yml'
69-
}
70-
}
69+
}
70+
post {
71+
always {
72+
cleanWs() }
73+
}
7174
}
7275
}

0 commit comments

Comments
 (0)