https://bugzilla.wikimedia.org/show_bug.cgi?id=59209
Web browser: ---
Bug ID: 59209
Summary: Preserve tests/testsuite.log for deb builds
Product: Wikimedia
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Continuous integration
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I planned to be bold :-) (cf. Gerrit change #104748), but looking at the
console log it's too complicated for a quick fix.
Premise: In case the testsuite fails for labs/toollabs, the generated
tests/testsuite.log needs to be available for debugging.
On Travis CI, I used:
| dpkg-buildpackage -b -rfakeroot -uc || cat tests/testsuite.log
as a test; in Jenkins, "artifacts" are probably the better way to go.
However, artifacts are apparently archived at the end of the job (cf.
https://integration.wikimedia.org/ci/job/labs-toollabs-debian-glue/lastBuild/console,
14:00:49), while tests/testsuite.log seems to be deleted directly after the
build fails ("DEB_KEEP_BUILD_ENV is not set to 'true', not keeping build
environment", 14:00:45).
I'm not sure what options Jenkins offers to solve this.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l