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

[10.0.x] NO-ISSUE: Use default maven settings file for release #6047

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

rodrigonull
Copy link
Contributor

This PR modify the build to use the default .m2/settings.xml file for the release.

@rodrigonull rodrigonull merged commit 1320d83 into apache:10.0.x Aug 14, 2024
1 of 2 checks passed
configFileProvider([configFile(fileId: env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]) {
mavenCommand.withSettingsXmlFile(MAVEN_SETTINGS_FILE).run("clean $installOrDeploy")
mavenCommand.withSettingsXmlFile(MAVEN_SETTINGS_FILE)
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't ever use this config file, because its existence is bound to the surrounding configFileProvider - thus this ends up with -s pointing at non-existent file at the time of mavenCommand.run .... I assume nightly is broken by this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, nightly uses different jenkinsfile, though IMHO still is not valid.

rodrigonull added a commit that referenced this pull request Aug 15, 2024
rodrigonull added a commit that referenced this pull request Aug 15, 2024
@rodrigonull rodrigonull deleted the release-settings branch August 27, 2024 18:18
rodrigonull added a commit to rodrigonull/incubator-kie-drools that referenced this pull request Sep 17, 2024
rodrigonull added a commit to rodrigonull/incubator-kie-drools that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants