项目作者: warlordofmars

项目描述 :
Some re-usable declarative pipeline configs to be used in a number of projects
高级语言: Groovy
项目地址: git://github.com/warlordofmars/jenkins-library.git
创建时间: 2019-02-11T19:42:24Z
项目社区:https://github.com/warlordofmars/jenkins-library

开源协议:MIT License

下载


jenkins-library

Overview

Some re-usable declarative pipeline configs to be used in a number of projects

Features

This library contains the following re-usable declaritive pipelines:

Simple Pipeline (w/ Input)

Simple Pipeline

This pipeline will execute a standard CI/CD workflow consisting of version, build, test, and promote stages. The test stage is a gating stage that will wait on user input before proceeding to the promote stage.

To use this pipeline, populate a Jenkinsfile in your project with the following content:

  1. @Library('github.com/warlordofmars/jenkins-library') _
  2. simplePipelineWithInput(
  3. // text to disply as part of input step in test stage
  4. 'Test Deploy Look Ok?',
  5. // artifacts that should be archived
  6. 'build/*.jar'
  7. )

Gradle Plugin Pipeline

Gradle Plugin Pipeline

This is a re-usable declaritive pipeline meant to be used on several Gradle plugin projects. The pipeline consists of the stages: version, build, and promote.

To use this pipeline, populate a Jenkinsfile in your project with the following content:

  1. @Library('github.com/warlordofmars/jenkins-library') _
  2. gradlePluginPipeline()

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details