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

[ONE-95]: Additional Mvn Options for NPM and Node #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgaikwad2
Copy link
Contributor

No description provided.

Copy link

@buildguy
Copy link
Collaborator

✅ Build finished in 3m 58s

Build command:

mvn clean verify -B -e -Daudit -amd

👌 All tests passed!

Tests run: 219, Failures: 0, Skipped: 1    Test Results


ℹ️ This is an automatic message

@@ -311,7 +315,7 @@ class MavenBuilder extends AbstractBuilder implements IBuilder, Serializable {
String localSettingsFile = item.settingsFile ?: settingsFile

if (item.containerized) {
process("${cmd} -V -s ${localSettingsFile} -Dmaven.repo.local='${localRepoPath}'", steps)
process("${cmd} -V -s ${localSettingsFile} -Dmaven.repo.local='${localRepoPath}' -DnodeDownloadRoot='${nodeDownloadRoot}' -DnpmDownloadRoot='${npmDownloadRoot}'", steps)
Copy link
Contributor

@cardosov cardosov Dec 20, 2023

Choose a reason for hiding this comment

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

Check if nodeDownloadRoot and npmDownloadRoot are populated and if they are then add them to the cmd variable. That way we also cover the use case for non containerised builds.

And please add unit tests to cover this new work. Unit tests in the shared lib, to be clear.

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.

3 participants