-
Notifications
You must be signed in to change notification settings - Fork 239
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
Bad handling of gradle CLI opts since 2.52.6 #2397
Comments
Hey @gregoryboue, thank you for reporting this issue. We've made changes since the relevant PR you mentioned. These changes take effect in JFrog CLI v2.52.8. Have you tried this version? Thanks. |
Hi @gregoryboue, could you please attach the debug logs? To set the debug logs you need to add the |
Hi @omerzi You can find the logs in the following file : |
Hi @gregoryboue, we've released JFrog CLI v2.52.9 with a gradle command parameter handling fix. Please let us know if this resolves your issue. Thank you. |
Describe the bug
Since 2.52.6 release and this PR : #2357 , some properties like
-Dorg.gradle.internal.plugins.portal.url.override=https://myartifactory.org/artifactory/maven-public/
are not interpreted anymore.In a context of a company with only access to maven repository through Artifactory, we have to use this property to download gradle plugins with artifactory because the JFrog CLI can't do that.
Current behavior
Since 2.52.6 version, if i launch :
jf gradle clean assemble -Dorg.gradle.internal.plugins.portal.url.override=https://myartifactory.org/artifactory/maven-public/
, the plugins needed by my project is not downloaded through artifactory anymore.Reproduction steps
With a simple gradle project with gradle sonarqube plugin used in the build.gradle.
jf gradle clean assemble --info -Dorg.gradle.internal.plugins.portal.url.override=https://myartifactory.org/artifactory/maven-public/
Then the log show that the repository https://myartifactory.org/artifactory/maven-public/ is not used to resolve gradle plugin (and the command is in error if there is no network access to
https://plugins.gradle.org/m2/
The same command is ok with 2.52.5 version.
Expected behavior
That the opt is well interpreted by JFrog CLI and https://myartifactory.org/artifactory/maven-public/ is used for gradle plugin resolution
JFrog CLI version
2.52.6+
Operating system type and version
Ubuntu
JFrog Artifactory version
7.55.10
JFrog Xray version
3.79.11
The text was updated successfully, but these errors were encountered: