Skip to content
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

Override gallery base url when prompting user #367

Open
ChrisBAshton opened this issue Jan 5, 2016 · 1 comment
Open

Override gallery base url when prompting user #367

ChrisBAshton opened this issue Jan 5, 2016 · 1 comment

Comments

@ChrisBAshton
Copy link
Contributor

As of Wraith v3.0.0, Wraith now prompts the user to open the gallery as follows:

View the gallery in your browser:
   file:///Users/ashtoc03/Sites/bbc/idt-product-tests/wraith/latest/news--stage/gallery.html

This is ok locally, but doesn't work very well in all situations, e.g. if you run Wraith with Docker:

file:///wraithy/latest/news--stage/gallery.html

...or on CI:

file:///jenkins/etc/etc/etc//news--stage/gallery.html

So it would be nice to add a property to the config, e.g.

gallery_base_url: "https://jenkins.mysite.co.uk/job/my-job/workspace/"

...which then gets outputted as:

View the gallery in your browser:
   https://jenkins.mysite.co.uk/job/my-job/workspace/idt-product-tests/wraith/latest/news--stage/gallery.html

OR, I'd consider removing this prompt altogether. Not entirely sure how useful it is.

@jimpriest
Copy link

I'll second this request. Trying to hack something up in CI and it would be nice to define this URL ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants