-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remove warning configuration from homebrew bottle builder #408
base: master
Are you sure you want to change the base?
Conversation
@@ -121,12 +120,7 @@ release_job.with | |||
// ------------------------------------------------------------------- | |||
// 2. BREW bottle creation MATRIX job from pullrequest | |||
def bottle_job_builder = matrixJob(bottle_builder_job_name) | |||
// set enable_github_pr_integration flag to false so we can customize trigger behavior | |||
OSRFBrewCompilationAnyGitHub.create(bottle_job_builder, | |||
"osrf/homebrew-simulation", |
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.
does it work without OSRFBrewCompilationAnyGitHub
and the "osrf/homebrew-simulation"
parameter? I'm not sure how it would attach to pull requests without that configuration
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.
good catch, changes are broken indeed. I tried to solve them in c7053c3. The new diff seems much better:
--- generic-release-homebrew_triggered_bottle_builder.xml 2021-10-06 17:00:03.366135806 +0200
+++ /tmp/generic-release-homebrew_triggered_bottle_builder.xml 2021-10-06 16:59:21.924941433 +0200
@@ -261,37 +261,6 @@
<saveOutput>false</saveOutput>
<disabled>false</disabled>
</hudson.plugins.emailext.ExtendedEmailPublisher>
- <io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- <analysisTools>
- <io.jenkins.plugins.analysis.warnings.Clang>
- <id></id>
- <name></name>
- <pattern></pattern>
- <reportEncoding></reportEncoding>
- <skipSymbolicLinks>false</skipSymbolicLinks>
- </io.jenkins.plugins.analysis.warnings.Clang>
- </analysisTools>
- <sourceCodeEncoding></sourceCodeEncoding>
- <ignoreQualityGate>false</ignoreQualityGate>
- <ignoreFailedBuilds>true</ignoreFailedBuilds>
- <referenceJobName></referenceJobName>
- <healthy>0</healthy>
- <unhealthy>0</unhealthy>
- <minimumSeverity>
- <name>LOW</name>
- </minimumSeverity>
- <filters></filters>
- <isEnabledForFailure>false</isEnabledForFailure>
- <isAggregatingResults>false</isAggregatingResults>
- <isBlameDisabled>false</isBlameDisabled>
- <qualityGates>
- <io.jenkins.plugins.analysis.core.util.QualityGate>
- <threshold>1</threshold>
- <type>TOTAL</type>
- <status>WARNING</status>
- </io.jenkins.plugins.analysis.core.util.QualityGate>
- </qualityGates>
- </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
<hudson.tasks.ArtifactArchiver>
<artifacts>pkgs/*</artifacts>
<allowEmptyArchive>true</allowEmptyArchive>
Made a quick draft on the change that should allow disable warnings configuration in brew bottle builder, issue #407. Seems to me like we are not using any of the GitHub configurations in the GitHubAny class so I removed it and use the BrewCompilation adding the option of disabling warnings. We are also losing the github checkout but it is my impression that is not being really used by the scripts.
I just run a quick diff on the XML generated with the old and the new DSL:
It needs testing in the buildfarm.