Jenkins Tutorial pt.3 - Deploying on Servers w/ Docker

Welcome back! In the previos tutorial, we’ve managed to build and push on to ECR docker registry.
Now we are going to deploy the code on to our servers!

Prerequisites

We need one extra plugin this time:

  • SSH Agent
    Don’t forget to setup your SSH keys in Credentials!

Pipeline

We are creating a new pipeline, which will be triggered by the end of the build pipeline like we mentioned in pt.2.