Deploying Modified Files Only Using Jenkins and Git

I am using a PHP application, Drupal, and I decided to use Jenkins for CI. I use it using the "Publish via SSH" function, but it deploys the entire site every time, which is clearly quite slow. I know there are tools like Ant, Maven, Phing and Capistrano, but I want to know what is my best option?

I'm currently just working on a deployment, but here is an overview of my ultimate goal.

  • Source. (Using a Git plugin that works great.)

  • Create SASS or LESS Files

  • Running Drupal tests using drush

  • Expand the code. Only deploy code files that have changed.

I would be grateful for the recommendations of the best tools that you can use here based on your experiences configuring something similar above.

+4
source share
1 answer

If you just deploy the code, then it should not be slow. I assume you have something bad, like assets in your repo, and this is probably causing the problem?

In my experience with CI, I have always deployed entire code bases as disambiguation packages.

0
source

All Articles