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

Gradle Args with spaces #842

Open
keeganjm-bsc opened this issue Jun 26, 2023 · 0 comments
Open

Gradle Args with spaces #842

keeganjm-bsc opened this issue Jun 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@keeganjm-bsc
Copy link

Describe the bug

This issue is related to jfrog/jfrog-cli#921 (Mvn args with spaces) and is needed to pass in multiple tags with space with the Gradle command. For example:
-Dkarate.options="--tags=@smoke --tags=~@regression"

#830 is the PR that is created to address this issue. This PR is a dependency on
jfrog/jfrog-cli#2029 getting moved forward as well.

Current behavior

This command fails when being passed as the gradle command using jfrog cli like so
'jfrog rt gradle clean assemble myTest -Dkarate.options="--tags=@smoke --tags=~@regression"'

gives an error that '--tags' is not a command line argument. It is recognizing the first --tags command but not the second due to the space.

Reproduction steps

No response

Expected behavior

Gradle command to be able to accept spaces in arguments in command line so I can pass multiple tags
'jfrog rt gradle clean assemble myTest -Dkarate.options="--tags=@smoke --tags=~@regression'

JFrog CLI-Core version

1.51.1

JFrog CLI version (if applicable)

No response

Operating system type and version

linux

JFrog Artifactory version

No response

JFrog Xray version

No response

@keeganjm-bsc keeganjm-bsc added the bug Something isn't working label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant