Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Global Jenkins Groovy pipeline library. Code for building pipelines that can be shared across jobs and Jenkins instances

Notifications You must be signed in to change notification settings

jhulick/Jenkins-global-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Pipeline Global Groovy Library

Collection of Groovy scripts, Jenkins global variables and classes, shell scripts, gdsl file for IDEs and configurations.

Why

To simplify automation and creation of Jenkins pipelines there is a need for a place to store and share common methods and scripts.

Start

To learn more about how to create pipelines please read the official documentationPipelines and look at the demo projects stored in the demo folder.

Run

Global libraries are automatically imported to Jenkins so to access the global variables and classes in repository just write the name of the function and it will be directly accessable by Jenkins.

Repo content

|-jenkinsfiles    //This folder contains all job configuration files
  |---Demo        //This folder contains all demo examples
  |---Dev         //This folder contains jobs under construction or that will never be in production
  |---Prod        //This folder contians jods that are tested and ment to be run in production
  |---Test        //This folder contians jods that are used for verification
|-src           
  |---com
    |-----jenkins //This folder contians global Groovy classes that can be used in pipelines
|-vars            //This folder contians global Groovy variables that can be used in pipelines
|-resources       //This folder contians miscellaneous resources

About

Global Jenkins Groovy pipeline library. Code for building pipelines that can be shared across jobs and Jenkins instances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 100.0%