optionally save artifacts

Bug #1493373 reported by David Britton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
latch
Fix Released
Medium
David Britton

Bug Description

From free:

It seems to me that it's not possible (or it would be very awkward) to save artifacts generated by latch-test, because of this code in test_cli:

        with temporary_directory() as temp_dir:
            environment.initialize(temp_dir)
            result = environment.execute_test()

which essentially purge everything after tests have run. Would it be possible to add support for specifying an artifacts directory path inside the temporary directory that will moved or copied to the working directory before purging everything? This way we can attach more state information about failed tests using Jenkins artifacts (something that is now pressing because of some flaky integration tests).

Related branches

David Britton (dpb)
Changed in latch-test:
importance: Undecided → Medium
Revision history for this message
David Britton (dpb) wrote :

our tarmac branch now supports this, so I can use the same feature in latch to save artifacts:

https://code.launchpad.net/~davidpbritton/tarmac/artifacts-copy/+merge/272685

Changed in latch-test:
status: New → In Progress
assignee: nobody → David Britton (davidpbritton)
Changed in latch-test:
status: In Progress → Fix Committed
David Britton (dpb)
Changed in latch-test:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.