Skip to content

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

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

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

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages