From 5ae115ba96722fdccf5be64b527c9d1600f7c48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Tue, 14 Mar 2023 04:53:44 +0000 Subject: [PATCH] =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20'pipline?= =?UTF-8?q?=5Fscript.jenkinsfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipline_script.jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 - ''' + """ } } }