-
Notifications
You must be signed in to change notification settings - Fork 142
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
JRE Provisioning: Add ITs for SonarQube #2056
Conversation
8f21b95
to
4879fde
Compare
// provisioning does not exist before 10.6 | ||
if (!ORCHESTRATOR.getServer().version().isGreaterThanOrEquals(10, 6)) { | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SQ tests run for a lot of versions, going back until 8.9.
I prefer to do this cheap check here, instead of messing with the regex of azure pipelines yml.
If you have any other ideas, let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is okay in principal and was done before. The correct way to do it is using assumeTrue, though:
Line 940 in 8553b2a
assumeTrue(ORCHESTRATOR.getServer().version().isGreaterThanOrEquals(9, 9)); // Public cache API was introduced in 9.9 |
b814bc2
to
4b5645c
Compare
4b5645c
to
6930b58
Compare
1f234f3
to
c245951
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use assumeTrue
// provisioning does not exist before 10.6 | ||
if (!ORCHESTRATOR.getServer().version().isGreaterThanOrEquals(10, 6)) { | ||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is okay in principal and was done before. The correct way to do it is using assumeTrue, though:
Line 940 in 8553b2a
assumeTrue(ORCHESTRATOR.getServer().version().isGreaterThanOrEquals(9, 9)); // Public cache API was introduced in 9.9 |
c245951
to
89447f4
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.