-
Notifications
You must be signed in to change notification settings - Fork 93
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
Octane fixes 5.6.5 #217
Conversation
…pace configuration
… to groovy script with command "convertTestsToRun"
…-job add maven support for pipeline job (for module name detection)
…s 2.107.1+ because of Security hardening
… seen in Octane using 5.6.5 plugin
Uft discovery job is not working correctly in Jenkins 2.107.1+ because of Security hardening
defect #779056 : Commits on branches in a multibranch context are not seen in Octane using 5.6.5 plugin
…s 2.107.1+ because of Security hardening
defect #761022 : Uft discovery job is not working correctly in Jenkins 2.107.1+ because of Security hardening
tech : test result are not received in workflow job - when job has workspace action with workspace =null (because of strange configuration of node)
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)) { |
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.
Avoid deeply nested control flow statements.
Approved for test build |
Try to use existing credentials then creating UFT test runner
@@ -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"); |
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.
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"); |
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.
Define a constant instead of duplicating this literal "ALM Octane test runner logical name" 4 times.
Code Climate has analyzed commit 9017883 and detected 3 issues on this pull request. Here's the issue category breakdown:
Note: there are 2 critical issues. View more on Code Climate. |
Approved for test build |
JENKINS-55329 : Commits are not reported to Octane from multibranch job
JENKINS-55367 : Uft discovery job is not working correctly in Jenkins 2.107.1+ because of Security hardening
JENKINS-55670 : Add support of sonar vulnerabilities
JENKINS-55695 : Use existing credentials then creating UFT test runner with SCM repository with credentials
update dependencies of sonarcube + recommended updates for workflow plugins