Compare commits
21 Commits
dev
...
4-pipeline
Author | SHA1 | Date |
---|---|---|
Sieciech | 6039376310 | |
Sieciech | dd2defd11d | |
Sieciech | 1eb675fb1f | |
Sieciech | 3466d86c6a | |
Sieciech | 8e2440c6cd | |
Sieciech | 96a4ec0e8f | |
Sieciech | db20421483 | |
Sieciech | af41bab1eb | |
Sieciech | eafce0a52e | |
Sieciech | d5b0a740b4 | |
Sieciech | 90d5de728d | |
Sieciech | 4a26262bac | |
Sieciech | 5f9789c437 | |
Sieciech | 4ce25f5a61 | |
Sieciech | 9e1c7e6870 | |
Sieciech | 53c6780197 | |
Sieciech | ddd5c55615 | |
Sieciech | 0a40523c2c | |
Sieciech | 797f83b777 | |
Sieciech | 1d9f5bbc50 | |
admin | 5280f17456 |
|
@ -123,8 +123,8 @@ 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};\\");"` && 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=${DatabaseUrl}/g" .env.dev'
|
sh '''sed -i 's/DATABASE_URL=.*/DATABASE_URL=${DatabaseUrl}/g' .env.dev'''
|
||||||
sh 'php8.0 /usr/local/bin/composer dump-env dev'
|
sh 'php8.0 /usr/local/bin/composer dump-env dev'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue