Provides example code for setting up and unit testing shared jenkins libraries.
-
Clone repository
$ git clone https://github.com/stricklerxc/jenkins-test-library.git $ cd jenkins-test-library
-
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