Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeteerawit/jenkins-shared-libs
Jenkins global pipeline libraries
https://github.com/joeteerawit/jenkins-shared-libs
Last synced: about 1 month ago
JSON representation
Jenkins global pipeline libraries
- Host: GitHub
- URL: https://github.com/joeteerawit/jenkins-shared-libs
- Owner: joeteerawit
- License: mit
- Created: 2018-12-22T06:02:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T09:57:58.000Z (over 4 years ago)
- Last Synced: 2024-11-06T04:29:30.671Z (3 months ago)
- Language: Groovy
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jenkins-share-libraries
centralizing pipelines into one shared library.## How to create a new library
- Create file in `vars` directory example `vars/installDependency.groovy`
- Create a function.
```
def call(args=null) {
// TODO
}
```
- Copy file name then paste it to Jenkins stage.
```
stage("Build") {
installDependency(true);
}
```