diff --git a/Jenkinsfile b/Jenkinsfile index 792aa5c..0dfa877 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -75,7 +75,7 @@ pipeline { 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.test' - sh 'sed -i \'s/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrlTesting}/g\' .env.test' + sh 'sed -i \'s+DATABASE_URL=.*+DATABASE_URL=${DatabaseUrlTesting}+g\' .env.test' sh 'php8.0 /usr/local/bin/composer dump-env test' sh 'php8.0 bin/console doctrine:schema:update --force'; } @@ -124,7 +124,7 @@ pipeline { 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' + sh 'sed -i \'s+DATABASE_URL=.*+DATABASE_URL=${DatabaseUrl}+g\' .env' sh 'php8.0 /usr/local/bin/composer dump-env prod' }