app secret
CureNetMulti/pipeline/head This commit looks good Details

This commit is contained in:
Sieciech 2021-08-29 10:49:16 +02:00
parent 79f2ff0b24
commit 921b8aaa63
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -123,7 +123,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 APP_SECRET" sh "echo `php8.0 -r 'echo md5(\"branch=${BRANCH_NAME};\");'` | php8.0 ../../tools/putenv/putenv.php .env APP_SECRET"
sh "php8.0 ../../tools/putenv/putenv.php .env DATABASE_URL \"${DatabaseUrl}\"" sh "php8.0 ../../tools/putenv/putenv.php .env DATABASE_URL \"${DatabaseUrl}\""
sh 'php8.0 /usr/local/bin/composer dump-env prod' sh 'php8.0 /usr/local/bin/composer dump-env prod'
} }