change php version to 8.0

This commit is contained in:
Sieciech 2021-07-27 16:19:35 +02:00
parent ddd5c55615
commit 53c6780197
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -76,7 +76,7 @@ pipeline {
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 'composer dump-env test'
sh 'php bin/console doctrine:schema:update --force';
sh 'php8.0 bin/console doctrine:schema:update --force';
}
}