Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
}
```