You could archive the screenshots as build artifacts. This will still be removed according to your build retention settings, and they should also be accessible via URL.

Eric


On 6/23/2016 7:10 AM, Maciej Gawinecki wrote:
My tests are taking screenshots. However, screenshots are taking a lot of space. So we have decided to store them within build directory, e.g.

/home/dev/jenkins/jobs/run-authng-sqa-phantomjs-tests-on-sqa/builds/26/screenshots

instead of workspace. This way, older builds are removed together with screenshots automatically. Now, when a screenshots is taken it says in the logs:

Screenshot taken to 
file:///var/lib/jenkins/jobs/run-authng-sqa-phantomjs-tests-on-sqa/builds/26/screenshots/2016-06-23T10:52:10.474+0000.png
 can be accessed at 
http://jenkins_server/job/run-authng-sqa-phantomjs-tests-on-sqa/26/screenshots/2016-06-23T10:52:10.474+0000.png

However, screenshots are no longer visible through a Web browser, i.e. there's no way to access URL.

Any workaround?

Regards,
Maciej

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dd64c508-a971-4706-9e8a-015221e29588%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/dd64c508-a971-4706-9e8a-015221e29588%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
*Eric Pyle
*
Release Engineer
Lebanon
+1 603-277-3060 (T)
+1 603-359-8670 (M)
[email protected] <mailto:[email protected]>
http://www.cd-adapco.com <http://www.cd-adapco.com>

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8109284f-37ab-91fe-830a-b4499fa0e43d%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to