Create pipeline #20
|
@ -74,7 +74,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
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 'composer dump-env test'
|
||||||
sh 'php8.0 bin/console doctrine:schema:update --force';
|
sh 'php8.0 bin/console doctrine:schema:update --force';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue