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

Octane fixes 5.6.5 #217

Merged
merged 24 commits into from
Jan 20, 2019
Merged

Octane fixes 5.6.5 #217

merged 24 commits into from
Jan 20, 2019

Conversation

@AppVeyorBot
Copy link

Radislav Berkovich and others added 2 commits January 16, 2019 09:30
defect #761022 : Uft discovery job is not working correctly in Jenkins 2.107.1+ because of Security hardening
@AppVeyorBot
Copy link

Radislav Berkovich and others added 2 commits January 16, 2019 14:49
tech : test result are not received in workflow job - when job has workspace action with workspace =null (because of strange configuration of node)
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

US #737054:  SonarQube integration - vulnerabilities
Integer buildNumber = Integer.valueOf(buildId, 10);
if (isValidJenkinsBuildNumber(jenkinsProject, buildNumber)) {
AbstractBuild build = getBuild(jenkinsProject, buildNumber);
if (build != null && isBuildExpectingToGetWebhookCall(build) && !isBuildAlreadyGotWebhookCall(build)) {
Copy link

Choose a reason for hiding this comment

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

Avoid deeply nested control flow statements.

@AppVeyorBot
Copy link

@grount
Copy link

grount commented Jan 20, 2019

Approved for test build

@@ -291,8 +291,8 @@ private static FreeStyleProject getDiscoveryJobForUftExecutor(DiscoveryInfo disc

setScmRepository(discoveryInfo.getScmRepository(), discoveryInfo.getScmRepositoryCredentialsId(), proj, false);
setBuildDiscarder(proj, 20);
addConstantParameter(proj, UftConstants.EXECUTOR_ID_PARAMETER_NAME, discoveryInfo.getExecutorId(), "ALM Octane testing tool connection ID");
addConstantParameter(proj, UftConstants.EXECUTOR_LOGICAL_NAME_PARAMETER_NAME, discoveryInfo.getExecutorLogicalName(), "ALM Octane testing tool connection logical name");
addConstantParameter(proj, UftConstants.EXECUTOR_ID_PARAMETER_NAME, discoveryInfo.getExecutorId(), "ALM Octane test runner ID");
Copy link

Choose a reason for hiding this comment

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

Define a constant instead of duplicating this literal "ALM Octane test runner ID" 4 times.

addConstantParameter(proj, UftConstants.EXECUTOR_ID_PARAMETER_NAME, discoveryInfo.getExecutorId(), "ALM Octane testing tool connection ID");
addConstantParameter(proj, UftConstants.EXECUTOR_LOGICAL_NAME_PARAMETER_NAME, discoveryInfo.getExecutorLogicalName(), "ALM Octane testing tool connection logical name");
addConstantParameter(proj, UftConstants.EXECUTOR_ID_PARAMETER_NAME, discoveryInfo.getExecutorId(), "ALM Octane test runner ID");
addConstantParameter(proj, UftConstants.EXECUTOR_LOGICAL_NAME_PARAMETER_NAME, discoveryInfo.getExecutorLogicalName(), "ALM Octane test runner logical name");
Copy link

Choose a reason for hiding this comment

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

Define a constant instead of duplicating this literal "ALM Octane test runner logical name" 4 times.

@codeclimate
Copy link

codeclimate bot commented Jan 20, 2019

Code Climate has analyzed commit 9017883 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1
Clarity 2

Note: there are 2 critical issues.

View more on Code Climate.

@AppVeyorBot
Copy link

@radislavB
Copy link
Author

Approved for test build

@grount grount added this to the 5.6.5-beta milestone Jan 20, 2019
@grount grount merged commit 48213c7 into jenkinsci:latest Jan 20, 2019
grount pushed a commit that referenced this pull request Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants