Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thilinamanamgoda/jenkins-shared-lib
https://github.com/thilinamanamgoda/jenkins-shared-lib
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thilinamanamgoda/jenkins-shared-lib
- Owner: ThilinaManamgoda
- License: apache-2.0
- Created: 2018-11-28T13:09:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T14:25:04.000Z (about 6 years ago)
- Last Synced: 2024-11-11T10:51:13.252Z (2 months ago)
- Language: Groovy
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jenkins-shared-lib
This repository is a [Jenkins shared library](https://jenkins.io/doc/book/pipeline/shared-libraries/) which contains set of functions that can be used in a [Jenkins pipeline](https://jenkins.io/doc/book/pipeline/).#### Prerequisites
This library depends on following Jenkins plugins:* [AnsiColor plugin](https://wiki.jenkins.io/display/JENKINS/AnsiColor+Plugin)
* [Pipeline AWS Plugin](https://wiki.jenkins.io/display/JENKINS/Pipeline+AWS+Plugin)
* [Pipeline Utility Steps Plugin](https://wiki.jenkins.io/display/JENKINS/Pipeline+Utility+Steps+Plugin)#### Quick Start Guide
1. Configure this repository as a shared library under the name "wso2-jenkins-shared-lib"
2. Usage of logging functions
```
@Library('wso2-jenkins-shared-lib')node("master") {
stage("Example") {
log.info 'Example info'
log.err 'Example error'
}
}
```