when job output contains a URL, make it clickable in the UI
complete
T
Tbradley
The CircleCI web UI shows the output from commands executed as part of each job. I'd like a setting for my project to tell the UI application to render URLs with href tags, so they are clickable. This would make it easier for anyone troubleshooting a failed build to follow links that might have useful information. See the attachment for an example.
CCI-I-1132
S
Sebastian Lerner
complete
This is being rolled out gradually across all users, marking as done. https://discuss.circleci.com/t/product-update-new-step-output-ui/48419
S
Sebastian Lerner
in progress
see below comment
S
Sebastian Lerner
Hi folks, we have a "beta" version of this functionality working. If you would like to be included in the beta to provide feedback, please reach out to me at sebastian @ circleci.com with your organization name + the CircleCI project that you would like to opt in.
Nathan Broadbent
Sebastian Lerner: That's awesome, I would love to try it! I will send you an email
Nathan Broadbent
This would be really helpful! It's one thing that I really miss from GitLab CI. I have some tests that compare two images, and if they fail then I output URLs where I can view the image diffs. With CircleCI, I have to manually highlight the URL and paste it into the address bar.
I also use this during some deploy workflows, to verify new releases
Nathan Broadbent
I hacked together a quick UserScript for Tampermonkey: https://gist.github.com/ndbroadbent/4b3cf2181074b955d8a658966c694be1
This will scan the step output for URLs and turn them into links
S
Shachar Or
Hi Nathan Dintenfass - any updates in that front? I understand the security concerns but I'm sure there are ways to mitigate it.
Thanks!
B
Benoit Tigeot
Shachar Or: Like limiting link to account url owned or provide a field in configuration with permitted links to click on (with wildcard option).
Liya Ai
Merged in a post:
Make URLs clickable on build console output UI
H
Hok Tong
Sometimes we would link people to a website in the console output if it's doing some CD stuff but currently we have to highlight and copy the URL and paste it in browser. If it can make it a clickable link, that would be great.
CCI-I-1080
N
Nathan Dintenfass
We have been a bit hesitant to manipulate the output for fear of causing unexpected issues and/or opening up XSS attack vectors. That said, we have talked about some kind of "rich output" where you could explicitly decide to output a snippet of markdown or something like that, which would probably accommodate most cases like the one you're describing. As of now that is an "idea" rather than a plan, so I can't commit to it.