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

Command line does not support - (hyphen) in --tags #20

Open
MarcSierszen opened this issue Nov 1, 2022 · 1 comment
Open

Command line does not support - (hyphen) in --tags #20

MarcSierszen opened this issue Nov 1, 2022 · 1 comment

Comments

@MarcSierszen
Copy link

In my company we need to upload via this tool. In our "Environment" is a - (hyphen). This is not allowed by the CliParser pattern.

java -jar test-result-collection-tool.jar -c octane-config.properties -t "Environment:TEST-A" unittestsresult.xml Tag and field tag arguments must be in TYPE:VALUE format: Environment:TEST-A

I already fixed it. Similar to the older issue/request with the whitespace. I would provide a feature branch and a pull request if you like.

Cheers
Marc

@KLBonn
Copy link

KLBonn commented Nov 18, 2022

Similar issue here, only with slashes (/)inside field values.
E.g. we have a list entry Java/Gradle in Octane list "Testing_Tool_Type".

In case your edit refers to CliParser.java#L417, and if a PR is accepted, could you also add \\/ to the regex character class?

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

No branches or pull requests

2 participants