From cbca7cb58221a37dd4567386ef025e428ddd10c4 Mon Sep 17 00:00:00 2001 From: Sieciech Date: Wed, 28 Jul 2021 15:05:01 +0000 Subject: [PATCH] Fix pipeline (#27) Co-authored-by: Sieciech Co-authored-by: Sieciech Co-authored-by: admin Reviewed-on: http://git.fufle.net/Community/CureNet/pulls/27 Co-Authored-By: Sieciech Co-Committed-By: Sieciech --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b5beda5..8174070 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -123,8 +123,8 @@ pipeline { stage('Backend') { steps { dir(path: 'src/backend') { - sh 'APP_SECRET=`php8.0 -r "echo md5(\\"branch=${BRANCH_NAME};\\");"` && sed -i "s/APP_SECRET=.*/APP_SECRET=${APP_SECRET}/g" .env' - sh 'sed -i "s/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrl}/g" .env.dev' + sh '''APP_SECRET=`php8.0 -r "echo md5(\\"branch=${BRANCH_NAME};\\");"` && sed -i 's/APP_SECRET=.*/APP_SECRET=${APP_SECRET}/g' .env''' + sh '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrl}/g' .env.dev''' sh 'php8.0 /usr/local/bin/composer dump-env dev' }