Answer the question
In order to leave comments, you need to log in
Jenkins deployment concept for PHP projects?
I have set up Jenkins in docker on a separate server. Jenkins connects to the server via ssh using the Publish over ssh plugin and simply does git pull, composer and angular build on the remote server, and so on.
cd /dir && git pull
wait
cd /dir && php yii migrate --interactive=0
wait
cd /dir && composer install
wait
cd /dir && npm install
wait
cd /dir && ng build --prod
wait
Answer the question
In order to leave comments, you need to log in
The concept is this - all these actions must be performed on Jenkins. You need to publish an already assembled project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question