pipeline
CureNetMulti/pipeline/head There was a failure building this commit Details

This commit is contained in:
Sieciech 2021-08-05 15:32:14 +02:00
parent a0e8e1647d
commit fd1c1da69e
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -123,7 +123,7 @@ 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 '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 'php8.0 /usr/local/bin/composer dump-env prod'
}