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

Fix CI Errors #454

Merged
merged 3 commits into from
May 7, 2020
Merged

Fix CI Errors #454

merged 3 commits into from
May 7, 2020

Conversation

res0nance
Copy link
Contributor

WIP to fix the build on ci.jenkins.io

@res0nance
Copy link
Contributor Author

Includes a fix for testing on newer versions of jenkins due to to jenkinsci/jenkins#4339 rearranging the UI

@res0nance res0nance marked this pull request as ready for review May 6, 2020 13:06
Comment on lines +98 to +102
if (Jenkins.getVersion().isNewerThanOrEqualTo(new VersionNumber("2.205"))) {
return r.createWebClient().goTo("configureClouds").getFormByName("config");
} else {
return r.createWebClient().goTo("configure").getFormByName("config");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😮

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its the rework to the clouds section so I added this code to be forwards compatible

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes I've checked during my review because I wanted to be sure of understanding it. But it shocked me at a first glance

@res0nance res0nance merged commit 47e6c6b into master May 7, 2020
@res0nance res0nance deleted the fix-build branch May 7, 2020 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants