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

This commit is contained in:
Sieciech 2021-08-29 10:39:27 +02:00
parent b04b6103b9
commit 79f2ff0b24
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -74,7 +74,7 @@ pipeline {
stage('Backend') { stage('Backend') {
steps { steps {
dir(path: 'src/backend') { dir(path: 'src/backend') {
sh "APP_SECRET=`php8.0 -r 'echo md5(\"branch=${BRANCH_NAME};\");'` && echo $APP_SECRET | php8.0 ../../tools/putenv/putenv.php .env.test APP_SECRET" sh "echo `php8.0 -r 'echo md5(\"branch=${BRANCH_NAME};\");'` | php8.0 ../../tools/putenv/putenv.php .env.test APP_SECRET"
sh "php8.0 ../../tools/putenv/putenv.php .env.test DATABASE_URL \"${DatabaseUrlTesting}\"" sh "php8.0 ../../tools/putenv/putenv.php .env.test DATABASE_URL \"${DatabaseUrlTesting}\""
sh 'php8.0 /usr/local/bin/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';