jenkins.sitespeed.io icon indicating copy to clipboard operation
jenkins.sitespeed.io copied to clipboard

Escaping extra configuration options

Open okj579 opened this issue 8 years ago • 1 comments

I'd like to add the following configuration option:

--requestHeaders '{"X-Production-Mode":"on"}'

However, the single quotes are parsed as part of the value. Normal shell escaping doesn't work here either. Is there a way to do this?

okj579 avatar Oct 24 '16 14:10 okj579

As a workaround, I've added a script that creates a headers.txt as a build step just before sitespeed.io. That seems to work well enough, though having it directly in the options would be nice.

okj579 avatar Oct 24 '16 14:10 okj579