/new-project

CI/CD - Jenkins & Docker

Primary LanguageHTML

CI/CD - Jenkins & Docker

  • Pipeline-as-code create a CI/CD pipeline that automates the pull of an API Builder project code from GitHub, create the Docker image, push the image to Docker Hub, and run it as a Docker container in a deployment server.

You need to have jenkins up and running. pre-requisite:

  • Jenkins > Credentials > System > Add Credentials
    • Kind Username with password
    • Global (Jenkins, nodes, items, ...)
    • Username
    • Password
    • ID : docker-hub-credentials

With this you will test:

  • Pipeline script.(Declare the Jenkinsfile script in the project Pipeline)
  • Pipeline SCM. (Use the jenkinsfile dinamically from github)