jenkins.sitespeed.io
jenkins.sitespeed.io copied to clipboard
Escaping extra configuration options
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?
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.