https://github.com/budtmo/jenkins-shared-library
https://github.com/budtmo/jenkins-shared-library
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/budtmo/jenkins-shared-library
- Owner: budtmo
- Created: 2021-03-18T09:47:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T08:55:45.000Z (over 5 years ago)
- Last Synced: 2025-04-01T19:24:57.108Z (over 1 year ago)
- Language: Groovy
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Jenkins Shared Library
======================
Usage
-----
1. [on Jenkins setting] "Manage Jenkins" -> "Configure System" -> "Global Pipeline Libraries" -> "Add" -> Add folowing sample input:
- Name: test-library
- Default version: master (for master branch)
- Mark: Allow default version to be overridden
- Mark: Include @Library changes in job recent changes
- Modern SCM and put this GitHub repo url
- Add "Discover branches"
2. [on Jenkins pipeline] Just add ```@test-library``` to start to use it.
Source
------
The whole documentation can be found [here](https://www.jenkins.io/doc/book/pipeline/shared-libraries/)