Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question