Fix pipeline #26

Merged
Sieciech merged 19 commits from 4-pipeline into dev 2021-07-28 13:43:40 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9e1c7e6870 - Show all commits

2
Jenkinsfile vendored
View File

@ -74,7 +74,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=${DatabaseUrlTesting}/g" .env.test'
sh '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrlTesting}/g' .env.test'''
sh 'composer dump-env test'
sh 'php8.0 bin/console doctrine:schema:update --force';
}