Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getJenkinsVersion return something which is comparable #215

Closed
khmarbaise opened this issue Dec 11, 2016 · 0 comments
Closed

getJenkinsVersion return something which is comparable #215

khmarbaise opened this issue Dec 11, 2016 · 0 comments
Milestone

Comments

@khmarbaise
Copy link
Member

I need something which is comparable within the tests to identify which version of Jenkins is running.

JenkinsServer js = new JenkinsServer("...");
JenkinsVersion jv = js.getJenkinsVersion();
if (jv.isGreaterThan("1.651.1")) {
...
}
@khmarbaise khmarbaise added this to the Release 0.3.7 milestone Dec 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant