From 09916e134079e3eb4e5163b20c4aac4a8e4c94fa Mon Sep 17 00:00:00 2001 From: Sieciech Date: Sun, 29 Aug 2021 12:05:04 +0200 Subject: [PATCH] migrate --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 632de6c..342541f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -189,7 +189,7 @@ pipeline { sh 'scp -r ./* web@fufle.net:${ProjectPath}/backend/' sh 'scp -r ./.env web@fufle.net:${ProjectPath}/backend/.env' sh 'ssh web@fufle.net chmod 777 ${ProjectPath}/backend/var -R' - sh 'ssh web@fufle.net cd ${ProjectPath} && php8.0 bin/console doctrine:schema:update --force' + sh 'ssh web@fufle.net bash -c "cd ${ProjectPath}/backend && php8.0 bin/console doctrine:schema:update --force"' } }