All Projects → Shimmi → Docker Jenkins

Shimmi / Docker Jenkins

Licence: mit
Jenkins with Blue Ocean and support for builiding jobs in Docker

Projects that are alternatives of or similar to Docker Jenkins

bitnami-docker-jenkins
Bitnami Docker Image for Jenkins
Stars: ✭ 95 (+427.78%)
Mutual labels:  jenkins, docker-image
Docker Inbound Agent
Docker image for a Jenkins agent which can connect to Jenkins using TCP or Websocket protocols
Stars: ✭ 342 (+1800%)
Mutual labels:  jenkins, docker-image
Nvwa Io
Nvwa-io is a open source DevOps CI/CD auto-build and auto-deploy system(女娲 - 开源 DevOps CI/CD 自动构建和自动部署系统). http://nvwa-io.com
Stars: ✭ 283 (+1472.22%)
Mutual labels:  ci, jenkins
calendar-view-plugin
Jenkins Calendar View Plugin: Shows past and future builds in a calendar view
Stars: ✭ 17 (-5.56%)
Mutual labels:  jenkins, ci
Bzppx Codepub
暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.
Stars: ✭ 471 (+2516.67%)
Mutual labels:  ci, jenkins
status-back
⬅️🔵 Send the status back to the github from CI environment
Stars: ✭ 19 (+5.56%)
Mutual labels:  jenkins, ci
Androidsdk
🐳 Full-fledged Android SDK Docker Image
Stars: ✭ 776 (+4211.11%)
Mutual labels:  ci, docker-image
jenkinsapi
A Python API for accessing resources and configuring Hudson & Jenkins continuous-integration servers
Stars: ✭ 790 (+4288.89%)
Mutual labels:  jenkins, ci
Pipeline
Pipeline is a package to build multi-staged concurrent workflows with a centralized logging output.
Stars: ✭ 433 (+2305.56%)
Mutual labels:  ci, jenkins
Gitlab Ci Android
GitLab CI image for building Android apps
Stars: ✭ 399 (+2116.67%)
Mutual labels:  ci, docker-image
megalinter
🦙 Mega-Linter analyzes 48 languages, 22 formats, 19 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
Stars: ✭ 534 (+2866.67%)
Mutual labels:  jenkins, ci
Ansible Role Jenkins
Ansible Role - Jenkins CI
Stars: ✭ 689 (+3727.78%)
Mutual labels:  ci, jenkins
springboot-deploy-demo
spring boot deploy
Stars: ✭ 16 (-11.11%)
Mutual labels:  jenkins, ci
CIAnalyzer
A tool collecting multi CI services build data and export it for creating self-hosting build dashboard.
Stars: ✭ 52 (+188.89%)
Mutual labels:  jenkins, ci
saint-build
monitor your jenkins operations, jobs in async and functional elegance
Stars: ✭ 13 (-27.78%)
Mutual labels:  jenkins, ci
Ccmenu
CCMenu is a Mac application to monitor continuous integration servers.
Stars: ✭ 306 (+1600%)
Mutual labels:  ci, jenkins
Awesome Ci
Awesome Continuous Integration - Lot's of tools for git, file and static source code analysis.
Stars: ✭ 254 (+1311.11%)
Mutual labels:  ci, docker-image
intelirest-cli
A cli interpreter for intelliJ .http files
Stars: ✭ 23 (+27.78%)
Mutual labels:  jenkins, ci
Danger Js
⚠️ Stop saying "you forgot to …" in code review
Stars: ✭ 4,076 (+22544.44%)
Mutual labels:  ci, jenkins
Newman
Newman is a command-line collection runner for Postman
Stars: ✭ 5,607 (+31050%)
Mutual labels:  ci, jenkins

Jenkins with Blue Ocean and support for building jobs in Docker

For a new Jenkins experience.

Supported tags and respective Dockerfile links

dockeri.co

GitHub issues GitHub stars

Based on the Official Jenkins Docker image. This image adds support for running Docker CLI inside the Jenkins container and building the jobs using declarative pipelines with Docker. Bundled with Blue Ocean.

Note on the image

The image is automatically built on any change pushed to the Shimmi/docker-jenkins repo and/or when original Jenkins image changes.

What is a Pipeline?

Pipelines are a series of steps that allow you to orchestrate the work required to build, test and deploy applications. Pipelines are defined in a file called Jenkinsfile that is stored in the root of your project’s source repository.

What is a Declarative pipeline?

Announced at Jenkins World on 14th of September 2016 along with the Blue Ocean, the Declarative pipeline is a new way of how to configure the Pipelines rather than script them.

Docker support in Declarative Pipeline allows you to version your application code, Jenkins Pipeline configuration, and the environment where your pipeline will run, all in a single repository. It’s a crazy powerful combination.

Declarative Pipeline introduces the postBuild section that makes it easy to run things conditionally at the end of your Pipeline without the complexity of the try... catch of Pipeline script.

Example of Declarative pipeline

pipeline {
  agent { docker 'php' }
  stages {
    stage('build') {
      steps {
        sh 'php --version'    
      }
    }
  }
}

See additional basic examples in another language.

What is a Blue Ocean?

Blue Ocean is a new project that rethinks the user experience of Jenkins. Designed from the ground up for Jenkins Pipeline and compatible with Freestyle jobs, Blue Ocean reduces clutter and increases clarity for every member of your team.

Blue Ocean

Usage

Please refer to the official documentation description for additional configuration and usage of the Jenkins docker image.

Using docker-compose

  1. Clone the repo or just the docker-compose.yml file.
  2. Go to that folder and run docker-compose up -d.

Solving "docker.sock is not a valid Windows path" error

If you are getting this error (on Docker version 18 and above), please set environment variable COMPOSE_CONVERT_WINDOWS_PATHS to true.

E.g. In Powershell, you can do: $env:COMPOSE_CONVERT_WINDOWS_PATHS=1.

See docker/compose#4240 issue for more info.

Upgrading

  1. Prepare Jenkins to shutdown (Manage Jenkins > Prepare for Shutdown).
  2. Go to your docker-compose.yml folder.
  3. Run docker-compose up -d again to recreate the container with new image and run it as a daemon.

Using docker run

You can also run the image without any cloning by using the docker run command.

docker run -d --name my_jenkins -v /your/home/jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 --group-add docker shimmi/jenkins

Please alter the /your/home/jenkins_home path to your needs.

E.g. On windows:

docker run -d --name my_jenkins -v /C/Users/<your-profile>/Documents/docker/jenkins/jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 --group-add docker shimmi/jenkins

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].