esbtools/jenkins-job-dsl-pipelines

Name: jenkins-job-dsl-pipelines

Owner: esbtools

Description: Framework for creating Jenkins pipelines with git and the Jenkins groovy job dsl.

Created: 2016-04-08 15:11:53.0

Updated: 2017-11-08 12:37:14.0

Pushed: 2017-08-04 20:06:52.0

Homepage: null

Size: 32

Language: Groovy

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Jenkins Job DSL Pipelines Framework

Definition

The Jenkins CI/CD Pipline is a wrapper around the Job DSL and Pipeline Jenkins plugins. The goal is to be able to tie the two together in order to be able to define in code how a project is built and promoted through environments.

There are essentially two stages. The first is the project build stage and the second is the promotion of artifacts to each environment. Both stages are a collection of jobs. This table explains what jobs are in each stage.

| Stage | Job | Description | ————– | —————- | ———– | Build | C-I Build | Master job that tracks the c-i branch of a component. | | Actual Build | Job that actually performs the build. Used as a “subproject” of C-I Build. | | Analyze | Performs static analysis of the code. Not used to gate deployment, just used to inform human interaction with the pipeline. | | Prepare Release | Prepares a release. | | Integration Test | Run any integration tests for the component. | ${environment} | Deploy | Deploy the code to ${environment}. | | Test | Run smoke tests and automated tests to verify the state of ${environment}. | | Promote | Promote to the next environment.

In Jenkins CI/CD Pipline speak, the Build stage is encapsulated in a Component and the ${environment} stages are handled within the Pipeline itself.

Required Jenkins Plugins

License

AGPLv3; see LICENSE.txt for details


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.