Skip to content

Commit 239ad06

Browse files
author
lerndevops
authored
Update cicdjfile
1 parent 101b436 commit 239ad06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cicdjfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pipeline {
6363
}
6464
stage('Deploy to K8s') {
6565
steps {
66-
sh 'sed -e "s/bno/\'"$BUILD_NUMBER"\'/g" deploy/sampleapp-deploy-k8s.yml'
66+
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'
6969
}

0 commit comments

Comments
 (0)