B
B
bernex2016-08-23 18:29:06
Jenkins
bernex, 2016-08-23 18:29:06

How to deploy a web application?

There is development - 5 developers, PHP + Postgres.
We want to deposit automatically, we like Docker.
And the question is what to use? Ancient Jenkins? Or what else is worth it?
Dokku? flynn? ..?
As a matter of fact the server on a docker works.
But how to connect the deployment: gitlab + checkout, so that later you can also tie the tests in the second stage.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Shurakov, 2016-08-31
@shurale43

First, you should use the newest Jenkins you can find . Of the stable ones, today it is 2.7.2
. Secondly, in order for the project to be deployed automatically after the push, you need to correct the post-update hook script so that it pulls Jenkins. There are many ways, for example, jenkins-cli command build. But my favorite is accessing the API with an HTTP request.
As for working directly with docker, have you looked at Docker build step plugin ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question