gd-internship-abasilaia / ci-cd

A set of automation scripts that implements CI/CD pipelines for the sample projects
GNU General Public License v3.0
0 stars 1 forks source link

There are Docker images in this repo with Jenkins, Jenkins-slave and Nexus server

This is a functional Jenkins server with jenkins-slave and nexus server in Centos:7

Summary

This image contains:

Exposed ports

Installation

Usage

I created scripts with Jenkins and Nexus installations from official site, Jenkins slave image and Docker Compose wrapper.

  1. Run the command:
    ./sandbox-run.sh
  2. Prepare Jenkins: Wait until Jenkins starts by reading the log
    docker-compose logs -f jenkins-master

    When it finishes downloading the data, start the script:

    pushd jnk && ./plugins.sh && popd
  3. Prepare Nexus:
    pushd nxs && ./pypi-init.sh && popd
  1. Go to the browser and write
    • Jenkins:
      http://localhost:8083
    • nexus
      http://localhost:8089

You can read more about Jenkins and Nexus.