Skip to content
Jean Carlos edited this page Jun 18, 2020 · 1 revision

Building a jenkins docker image as a code

Configuration Steps:

  • Create a plugins.txt file to configure a essentials plugins from a DevOp's pipelines.

  • Create groovy scripts to generate a base configuration from jenkins

    • Create a base admin user/password
    • Create a base globals variables

Build Steps:

Build image:

  • Change version in docker compose file
  • To Run and Create:
    - docker-compose -f "docker-compose.yml" up -d --build  --no-cache
  • To Stop:
    - docker-compose -f "docker-compose.yml" down
Clone this wiki locally