app secret
CureNetMulti/pipeline/head This commit looks good
Details
CureNetMulti/pipeline/head This commit looks good
Details
This commit is contained in:
parent
79f2ff0b24
commit
921b8aaa63
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue