Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liatrio/pipeline-library
Shared libraries for Jenkinsfiles with unit tests
https://github.com/liatrio/pipeline-library
jenkins jenkins-pipeline jenkins-pipeline-library jenkins-pipeline-qa
Last synced: 3 months ago
JSON representation
Shared libraries for Jenkinsfiles with unit tests
- Host: GitHub
- URL: https://github.com/liatrio/pipeline-library
- Owner: liatrio
- Archived: true
- Created: 2017-07-26T19:15:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T00:08:14.000Z (over 5 years ago)
- Last Synced: 2024-09-25T06:32:07.974Z (3 months ago)
- Topics: jenkins, jenkins-pipeline, jenkins-pipeline-library, jenkins-pipeline-qa
- Language: Groovy
- Homepage:
- Size: 104 KB
- Stars: 22
- Watchers: 5
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pipeline Library
Shared library with unit tests to be used with Jenkins pipelines.
[![Build Status](https://travis-ci.org/liatrio/pipeline-library.svg?branch=master)](https://travis-ci.org/liatrio/pipeline-library)#### Run Pipeline Library Tests Locally For Development Purposes
```
git clone https://github.com/liatrio/pipeline-library.git
gradle clean test
```
### Testing
Uses com.lesfurets.jenkins.unit.RegressionTest to test the shared libraries with spock.#### Shared Library Methods
* [Analyze With Sonar](vars/analyzeWithSonar.groovy)
* [Deploy container to Environment](vars/deployContainerToEnv.groovy)
* [Get Jira Issue](vars/getJiraIssue.groovy)
* [Gradle Build](vars/gradleBuild.groovy)
* [Gradle Build And Deploy](vars/gradleBuildAndDeploy.groovy)
* [Maven Build](vars/mavenBuild.groovy)
* [Maven Build and Deploy](vars/mavenBuildAndDeploy.groovy)
* [Push Container to Artifactory](vars/pushContainerToArtifactory.groovy)
* [Run App Locally](vars/runAppLocally.groovy)