Skip to content

Provides example code for setting up and unit testing shared jenkins libraries.

Notifications You must be signed in to change notification settings

stricklerxc/jenkins-test-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Jenkins Shared Library with Unit Tests

Overview

Provides example code for setting up and unit testing shared jenkins libraries.

Usage

  1. Clone repository

    $ git clone https://github.com/stricklerxc/jenkins-test-library.git
    $ cd jenkins-test-library
  2. Execute tests

    $ ./gradlew test
    <===========--> 90% EXECUTING [2s]
    
    > Task :test
    TestExample: testGetClusterUrl: SUCCESS
    Tests: 1, Failures: 0, Errors: 0, Skipped: 0
    
    BUILD SUCCESSFUL in 2s
    4 actionable tasks: 2 executed, 2 up-to-date

References

About

Provides example code for setting up and unit testing shared jenkins libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages