-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Can't use USER_SUPPLIED_CONFIGURE_ARGS with blank space and " #2279
Comments
I also tried to add directly into scripts like
But this is no good either. |
Joey has been informed that there's a hacky workaround for this, as detailed below. However, this problem is still a problem, and should be properly fixed. Note: Any argument with a space in it is unlikely to work well with make, so we may be setting ourselves up for future problems here. Inside our scripts, we pass configure args as a parameter to another script on the command line, which may be where your quotation marks are being lost. e.g. This adds --testargaddedhere="potato" to the configure script args at execution time, including quotation marks. |
Ok, here's one form the fix could take. Note that make tends to react poorly to spaces inside single arguments. Something you may wish to keep in mind when using configure args with spaces in them. |
Ok, the PR fixing this was resolved, so the next build job using a fresh copy of the build scripts should be able to accept speech marks in the CONFIGURE_ARGS parameter, so long as you escape them (just the inner ones, not the ones around the entire CONFIGURE_ARGS value). |
What are you trying to do?
I am trying to add configureBuild arguments like
The total BUILD_CONFIGURATION input is
http://ci.dragonwell-jdk.io/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-dragonwell/10/parameters/
Expected behaviour:
I added " to make it a legal json, but after this is parsed the " seems got lost.
Observed behaviour:
This is pars
Any other comments:
The text was updated successfully, but these errors were encountered: