K
K
klinnov2016-12-16 15:41:16
Continuous Integration
klinnov, 2016-12-16 15:41:16

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

3 answer(s)
N
Nimfus, 2016-12-16
@Nimfus

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

M
Max, 2016-12-16
@MaxDukov

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.

V
Vyacheslav Plisko, 2016-12-19
@AmdY

deploy to the server using special utilities like https://deployer.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question