fix composer path
CureNetMulti/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Sieciech 2021-07-28 11:09:58 +02:00
parent db20421483
commit 96a4ec0e8f
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -76,7 +76,7 @@ pipeline {
dir(path: 'src/backend') { 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=${DatabaseUrlTesting}/g' .env.test''' sh '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrlTesting}/g' .env.test'''
sh 'composer dump-env test' sh 'php8.0 /usr/local/bin/composer dump-env test'
sh 'php8.0 bin/console doctrine:schema:update --force'; sh 'php8.0 bin/console doctrine:schema:update --force';
} }