- Jenkins Master
- Scalable jenkins swarm agent
- Scalable selenium grid nodes with chrome and firefox
- Nexus3
- Sonarcube
- Postgresql database
- Portainer
Jenkins Master
Based on latest LTS version of official jenkins docker image.
TŠ¾ preinstall extra plugins in to jenkins, paste Plugin ID to Jenkins Master dockerfile
To attach jenkins agents, create user in jenkins credentials settings and write his credentials in to jenkinsagent
variables.
Added variables: TZ=Europe/Minsk
set yours, default is UTC
. Workaround to view cucumber test reports in jenkins pages ENV JAVA_ARGS="\"-Dhudson.model.DirectoryBrowserSupport.CSP
For more info, see official readme
Jenkins Agent
Based on official openjdk docker image with installed Jenkins Swarm client 3.4
To scale jenkins agents, run docker-compose scale jenkinsagent={number of replicas}
List of variables see on docker-entrypoint.sh
by default you need to configure only username, password and master-address
Selenium Grid Nodes
Based on official selenium chrome node image and firefox node image
After start you will have one chrome node with 5 browsers and FullHD screen resolution, and one firefox node with 3 browsers.
See preinstall variables in docker-compose.yml
full variables list
To scale chrome nodes, run docker-compose scale grchrome={number of replicas}
To scale firefox nodes, run docker-compose scale grfirefox={number of replicas}
Nexus Server
Run fom official sonatype nexus3 docker image
Sonatype Nexus is a repository manager with free support for popular formats.
SonarQube Server
Run fom official sonarqube docker image with additional postgesql database container
SonarQube is an open source platform for continuous inspection of code quality.
Portainer
Run from official portainer docker image
Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.
More info official site
executedocker-compose up