pme
January 28, 2020, 10:11pm
1
I’m trying to use inline_link
to leave a link to AWS CloudWatch, but as it uses semicolon in the url, it seems like when you parse it out to be displayed in the web ui it gobbles up what comes after the first ;
, e.g.
inline_link "https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#logStream:group=/buildkite/logs;prefix=${INSTANCE};streamFilter=typeLogStreamPrefix"
becomes
https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#logStream:group=/buildkite/logs
in the ui. Do you have a way around this?
pme
January 28, 2020, 10:47pm
2
I think I can actually answer my own question after digging deeper into the terminal-to-html source.
You can escape ;
with \
, but when I tried that the backslash was eaten by my dog^Wscript.
Hello Martin,
We have fixed this in terminal-to-html v3.6.0 Accept quotation marks for parameters in tokenizeString by ticky · Pull Request #88 · buildkite/terminal-to-html · GitHub .
Please let us know if that does not do it. Thanks so much for reporting this!
Cheers
jess
February 10, 2021, 8:51pm
4
Further, @pme , this is now deployed throughout Buildkite and syntax using quotation marks to wrap the values works :)
pme
February 10, 2021, 9:07pm
5
Excellent! Thanks for cycling back to me <3
/M