Skip to content

pere3/cdis-jenkins-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

156 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;DR

Base microservice pipeline and supporting library functions. The ./Jenkinsfile runs the pipeline against this repo.

Pipeline Overview

A test pipeline will automatically run when commits are made to PRs through the Jenkinsfile in this repository. The test pipeline uses the base microservice pipeline with injected variables to mock an actual pipeline running. Please make sure to edit the Jenkinsfile and manually change the branch that the library load call is directed to. See here for more information about Jenkins Shared Libraries.

There is a conditional pipeline used for cdis-manifest or any repository having the same purpose called ManifestBuild.

Testing groovy code locally

The ./build.sh shows one approach to running unit tests against groovy helper functions outside of Jenkins

./build.sh

About

Little groovy helper for Jenkins pipelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Groovy 99.3%
  • Other 0.7%