Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)