Some re-usable declarative pipeline configs to be used in a number of projects
This library contains the following re-usable declaritive pipelines:
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:
@Library('github.com/warlordofmars/jenkins-library') _
simplePipelineWithInput(
// text to disply as part of input step in test stage
'Test Deploy Look Ok?',
// artifacts that should be archived
'build/*.jar'
)
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:
@Library('github.com/warlordofmars/jenkins-library') _
gradlePluginPipeline()
- John Carter - warlordofmars
This project is licensed under the MIT License - see the LICENSE.md file for details