Skip to content

This is a basic shared library for Jenkins which shows how to overwrite parts of the Jenkins pipeline like sh(), or stage{}.

License

Notifications You must be signed in to change notification settings

datze/jenkins_shared_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shared Library For Jenkins

(jenkins_sharedlibrary)

This is a basic shared library for Jenkins (see Jenkins docu).

It can be used as template for individual Shared Libraries to extend Jenkins build pipelines.

Its focus is on showing how to overwrite parts of the Jenkins pipeline like sh(), or stage{}.

Usage

Add the Shared Library in Jenkins: Manage Jenkins » Configure System » Global Pipeline Libraries.

The scripts in /vars are Global Variables. To make them available in pipeline scripts, just add @Library('the-name-you-gave-it-in-the-jenkins-config').

About

This is a basic shared library for Jenkins which shows how to overwrite parts of the Jenkins pipeline like sh(), or stage{}.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages