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

Client configuration should prefer system properties #775

Merged
merged 2 commits into from
Jan 7, 2024

Conversation

yahavi
Copy link
Member

@yahavi yahavi commented Dec 31, 2023

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

Fix jfrog/jfrog-cli#2373

The setup for the client should prioritize Java system properties over the default properties set by the JFrog CLI. Take this command, for instance, where the JFrog CLI specifies artifactory.publish.artifacts=true, but a conflicting false value is set by a system property:

jf mvn clean install -Dartifactory.publish.artifacts=false

In this case, the system property should take precedence over the default value from the JFrog CLI.

@yahavi yahavi added the bug Create a report to help us improve label Dec 31, 2023
@yahavi yahavi self-assigned this Dec 31, 2023
@yahavi yahavi added the safe to test Approve running integration tests on a pull request label Dec 31, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Dec 31, 2023
Copy link

👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.


@yahavi yahavi added the safe to test Approve running integration tests on a pull request label Dec 31, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Dec 31, 2023
@eyalbe4 eyalbe4 removed their request for review January 7, 2024 08:28
@yahavi yahavi merged commit b5422d8 into jfrog:master Jan 7, 2024
1 of 2 checks passed
@yahavi yahavi deleted the props branch January 7, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Create a report to help us improve
Projects
None yet
2 participants