Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 681 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 681 Bytes

Semantic Version Comparison in a Jenkins pipeline

A Jenkins global pipeline library method semver_compare and an example Jenkinsfile for how to use it.

Running tests

Gradle is used to run tests for the SemanticVersion class used in this library. The repository comes with Gradle wrapper, a helper script to automatically download and manage the gradle distribution. Invoke the wrapper script according to the OS platform:

UNIX/Linux

./gradlew test

Windows (untested)

gradlew.bat test

[1] https://docs.gradle.org/current/userguide/gradle_wrapper.html