We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 101b436 commit 239ad06Copy full SHA for 239ad06
cicdjfile
@@ -63,7 +63,7 @@ pipeline {
63
}
64
stage('Deploy to K8s') {
65
steps {
66
- sh 'sed -e "s/bno/\'"$BUILD_NUMBER"\'/g" deploy/sampleapp-deploy-k8s.yml'
+ sh 'sed -e "s/bno/"$BUILD_NUMBER"/g" deploy/sampleapp-deploy-k8s.yml'
67
sh 'sed -i "s/bno/\'"$BUILD_NUMBER"\'/g" deploy/sampleapp-deploy-k8s.yml'
68
sh 'kubectl apply -f deploy/sampleapp-deploy-k8s.yml'
69
0 commit comments