diff --git a/pipline_script.jenkinsfile b/pipline_script.jenkinsfile index 11d7730..af8e4d2 100644 --- a/pipline_script.jenkinsfile +++ b/pipline_script.jenkinsfile @@ -38,18 +38,18 @@ pipeline { git config --global user.name "junghun_test" git clone https://root:platformps@gitlab.dev-cloudps.com/root/appyaml.git ''' - dir(appyaml) { + dir('appyaml') { sh 'ls -l' sh 'pwd' - sh ''' + sh """ rm -rf app.yaml cp app.yaml.template app.yaml - sed -i 's@{{URL}}@harbor.dev-cloudps.com/reviews/reviews:${BUILD_NUMBER}@' app.yaml + sed -i 's|{{URL}}|harbor.dev-cloudps.com/reviews/reviews:${BUILD_NUMBER}|' app.yaml git add * git status git commit -m 'Images & Version Changed' git push -u origin master - ''' + """ } } }