Answer the question
In order to leave comments, you need to log in
How to set up Jenkins for a Laravel project?
Hello! I want to get acquainted with Jenkins. Installed locally.
Let's say I have a project locally and a repository.
For example, I need to configure it so that if the repository is updated, all files are automatically pulled up to the dev version of the site + the commands are run:
php artisan migrate
composer install.
I can't find a guide for this. Thank you!
Answer the question
In order to leave comments, you need to log in
Try Team City from JetBrains, recently switched to it in the company, more flexible build settings without black magic, eats less resources and with excellent documentation
install a plugin for your repository.
set up a job - add a check of the repository, as the next step specify the Execute shell script - write the necessary commands in it.
example
, in general, no magic.
deploy to the server using special utilities like https://deployer.org/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question