All Projects → Diabol → Delivery Pipeline Plugin

Diabol / Delivery Pipeline Plugin

Licence: other
Jenkins plugin for pipeline visualisation, perfect for Continuous Delivery

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Delivery Pipeline Plugin

Docker For All
Docker applied in development, devops, testing, product management etc.
Stars: ✭ 88 (-27.87%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
Drone Cli
Command Line Tools for Drone CI
Stars: ✭ 302 (+147.54%)
Mutual labels:  pipelines, continuous-integration, continuous-delivery
fabric-beta-publisher-plugin
DEPRECATED: A Jenkins plugin that lets you publish Android apps to Fabric Beta
Stars: ✭ 24 (-80.33%)
Mutual labels:  continuous-integration, continuous-delivery, jenkins-plugin
Butler
Export/Import Jenkins jobs & plugins 📤
Stars: ✭ 113 (-7.38%)
Mutual labels:  continuous-integration, jenkins, jenkins-plugin
Bzppx Codepub
暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.
Stars: ✭ 471 (+286.07%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
jenkins-pipeline-shared-library-template
Project template for developing shared Jenkins pipeline libraries.
Stars: ✭ 46 (-62.3%)
Mutual labels:  jenkins, continuous-delivery, pipelines
updatebot
a simple bot for updating dependencies in source code
Stars: ✭ 30 (-75.41%)
Mutual labels:  jenkins, continuous-integration, continuous-delivery
Nevergreen
🐤 A build monitor with attitude
Stars: ✭ 170 (+39.34%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
Jx
Jenkins X provides automated CI+CD for Kubernetes with Preview Environments on Pull Requests using Cloud Native pipelines from Tekton
Stars: ✭ 4,041 (+3212.3%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
Jenkins
Jenkins automation server
Stars: ✭ 18,225 (+14838.52%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
cloud-s4-sdk-pipeline
The Cloud SDK pipeline uses the Cloud SDK continuous delivery server for building, checking, and deploying extension applications. Projects based on the SAP Cloud SDK archetype will automatically use this pipeline.
Stars: ✭ 65 (-46.72%)
Mutual labels:  jenkins, continuous-integration, continuous-delivery
Variable Injector
Continuous Integration Tool for Swift Projects
Stars: ✭ 63 (-48.36%)
Mutual labels:  pipelines, continuous-integration, continuous-delivery
artifact-promotion-plugin
A simple Jenkins plugin to promote artifacts.
Stars: ✭ 29 (-76.23%)
Mutual labels:  jenkins, continuous-delivery, jenkins-plugin
Jenkins Pipeline
📈 Learn how to implement container technologies with your Jenkins CI/CD workflows to make them easier to manage in this tutorial.
Stars: ✭ 83 (-31.97%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
ebook-continuous-delivery-with-kubernetes-and-jenkins
Continuous Delivery for Java Apps: Build a CD Pipeline Step by Step Using Kubernetes, Docker, Vagrant, Jenkins, Spring, Maven and Artifactory
Stars: ✭ 39 (-68.03%)
Mutual labels:  jenkins, continuous-integration, continuous-delivery
cloud-s4-sdk-pipeline-docker
The Cloud SDK continuous delivery infrastructure makes heavy use of docker images. This are the docker sources of these images.
Stars: ✭ 13 (-89.34%)
Mutual labels:  jenkins, continuous-integration, continuous-delivery
Cdeasy
Continuous Delivery made Easy ;)
Stars: ✭ 143 (+17.21%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
Fabric8
fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
Stars: ✭ 1,783 (+1361.48%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
Ccmenu
CCMenu is a Mac application to monitor continuous integration servers.
Stars: ✭ 306 (+150.82%)
Mutual labels:  continuous-integration, jenkins, continuous-delivery
Concourse
Concourse is a container-based continuous thing-doer written in Go.
Stars: ✭ 6,070 (+4875.41%)
Mutual labels:  pipelines, continuous-integration, continuous-delivery

Delivery Pipeline Plugin

alt tag

Build Status

The purpose of the Delivery Pipeline plugin is to provide visualisation of delivery/build pipelines in Jenkins. The plugin is perfect for Continuous Delivery pipeline visualisation on information radiators.

In Continuous Delivery, fast feedback and visualisation of the delivery process is one of the most important aspects. When using Jenkins as a build server it is now possible to visualise one or more delivery pipelines in the same view (even in full screen!) using the Delivery Pipeline plugin. You can install the Delivery Pipeline plugin using the Jenkins plugin management.

Project wiki page can be found here: Delivery Pipeline Plugin - Wiki.

We use the official Jenkins issue tracker for bugs, improvements and new features. Please report any issues on component delivery-pipeline-plugin.

This plugin has been contributed to the community by Diabol AB.


alt tag

Requirements

Delivery Pipeline plugin 1.4.0 and later requires Java 8 and Jenkins core 2.164 or later (Java 11 required for plugin development).

Delivery Pipeline plugin 1.3.0 and later requires Java 8 and Jenkins core 2.73.3 or later.

Delivery Pipeline plugin 1.2.0 and later requires Java 8 and Jenkins core 2.62 or later.

Delivery Pipeline plugin 1.1.0 and later requires Java 8 and Jenkins core 1.642.3 or later.

Delivery Pipeline plugin 1.0.0 and later requires Java 7 and Jenkins core 1.642.3 or later.

Delivery Pipeline plugin 0.10.3 requires Java 6 and Jenkins core 1.565 or later.

Building the project

Requires Java 11, Apache Maven 3.3.x or later.

mvn clean install

The project contains a rigorous test suite which takes some time to run. If you just want to build the project for the first time, you can shortcut it by running:

mvn clean install -DskipTests

Run locally

During development you can easily start a local Jenkins instance with the Delivery Pipeline plugin installed based on your current source code revision. Build the project using the step mentioned above and run:

mvn hpi:run

This will start a local Jenkins with the Delivery Pipeline plugin installed. It will by default be available at http://localhost:8080/jenkins.

Bootstrap your local Jenkins with jobs

To bootstrap your local Jenkins instance with jobs, you can use the provided examples.

You would need to have Jenkins Job Builder (JJB) or JobDSL available in order to use them. To use the JJB .yaml job configurations without the need to install JJB explicitly, you could run it in a Docker container. Provide the example jenkins.ini to JJB. When running inside a container, you might need to add your host ip address in the jenkins.ini instead of localhost to allow JJB to connect to your Jenkins instance. Mount the examples directory to the Docker container, and then invoke JJB ising the jenkins-jobs command, such as:

docker run -it --rm --net=host -v PATH_TO/delivery-pipeline-plugin/examples/jenkins.ini:/etc/jenkins_jobs/jenkins_jobs.ini -v PATH_TO/delivery-pipeline-plugin/examples:/root/jenkins-job-builder tynja/jenkins-job-builder jenkins-jobs update demo.yaml

Run function tests

The project contains a set of functional tests that run in a separate Maven goal. These can be run using:

mvn integration-test

Create Jenkins plugin artifact

To create a Jenkins plugin artifact, build the project and run:

mvn hpi:hpi

This creates a delivery-pipeline-plugin.hpi file in the target directory. This file can be manually uploaded through the Jenkins plugin management console (under the Advanced tab) to load the built plugin into Jenkins.

Build and run in a Docker container

To build and run the Delivery Pipeline plugin together with Jenkins in a Docker container, you first need to build the project before building the Docker image:

mvn clean package
docker build -t dpp .
docker run -p 8080:8080 dpp

You can then access your local Jenkins instance on http://localhost:8080.

If you just want to run Jenkins and the Delivery Pipeline plugin in a Docker container without building it yourself, you can pull certain versions from Docker hub:

docker pull diabol/delivery-pipeline-plugin:1.3.0
docker run -it -p 8080:8080 diabol/delivery-pipeline-plugin:1.3.0

The Docker container will be bootstrapped with a few Jenkins job configurations and a delivery pipeline view. Jenkins will be available at http://localhost:8080.

Configuring manually triggered jobs for views based on traditional Jenkins jobs with downstream dependencies

Note: This requires the Build Pipeline plugin to be installed.

To be able to configure a certain job in the pipeline as a manual step, you have to configure the upstream job that triggers the job which is to be performed manually to be marked as a manual step.

In the Jenkins UI this shows up as a Post-Build Action: Build other projects (manual step), where you configure the name of the job to be manually triggered in the "Downstream Project Names".

If you're creating your jobs with JobDSL, use the following syntax in the publishers section (parameters is optional):

publishers {
    buildPipelineTrigger('name-of-the-manually-triggered-job') {
        parameters {
            propertiesFile('env.${BUILD_NUMBER}.properties')
        }
    }
}

In your pipeline configuration, make sure to enable manual triggers. The manual triggers (a play button) will not be shown in the UI for aggregate pipelines, only for pipeline instances. If you want to access manual triggers from the UI, make sure to show at least one pipeline instance.

Here is an example of a corresponding JobDSL pipeline view configuration:

deliveryPipelineView("my-pipeline") {
    name("my-pipeline")
    description("Delivery pipeline with a manual trigger")
    pipelineInstances(1)
    showAggregatedPipeline(false)
    columns(1)
    updateInterval(2)
    enableManualTriggers(true)
    showAvatars(false)
    showChangeLog(true)
    pipelines {
        component("My pipeline", "the-name-of-the-first-job-in-the-pipeline")
    }
}

Using a custom CSS

Here is an example of how to specify a custom CSS for the Delivery Pipeline Plugin using a JobDSL pipeline view configuration:

deliveryPipelineView("my-pipeline") {
    name("my-pipeline")
    description("Delivery pipeline with custom full screen CSS")
    pipelineInstances(1)
    showAggregatedPipeline(false)
    columns(1)
    updateInterval(2)
    enableManualTriggers(true)
    showAvatars(false)
    showChangeLog(true)
    configure { node ->
        node << {
            fullScreenCss('https://my-jenkins-instance/userContent/my-pipeline-fullscreen.css')
        }
    }
    pipelines {
        component("My pipeline", "the-name-of-the-first-job-in-the-pipeline")
    }
}

Examples

Example configurations can be found in the examples subdirectory.

For Jenkins Job Builder job configuration examples, see: demo.yaml

For JobDSL job configuration examples, see: demo.groovy

For examples on how to use the Jenkins pipeline task step to visualize steps within a stage, see this example pipeline

How to contribute

Read GitHub's general contribution guidelines: https://guides.github.com/activities/contributing-to-open-source/#contributing

It basically comes down to the following guidelines:

  1. If applicable, create a Jira issue
    • Make sure a similar issue doesn't already exist
  2. Fork the repo
  3. Contribute and have fun!
  4. Add as much unit testing as possible to any new code changes
    • This will make the code much more easy to maintain and to understand its intent
  5. Make sure your code is well formatted and aligns with the projects code style conventions. This will be enforced by the CI build that runs on each pull request.
  6. Make sure to prefix the commit message with the associated Jira issue number together with a descriptive commit message
  7. Create a pull request to start a discussion and to get feedback from the maintainers
    • Add a link to the pull request in the associated Jira issue

Contact

If you have any questions, feel free to reach out to one of the maintainers:

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].