Clean Jenkins workspace dir before and/or after each build

Bug #862346 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Low
Lars Butler

Bug Description

We've recently seen a problem [1] in Jenkins caused by old clutter in the build workspace dir. The solution to the problem was to wipe out the Jenkins workspace dir.

To make sure this doesn't happen again, we should add some build steps to clean up the workspace dir before and/or after a build.

[1] http://ci.openquake.org/job/openquake/202/testReport/junit/nose.failure/Failure/runTest/

Tags: devop
tags: added: devop
Revision history for this message
Lars Butler (lars-butler) wrote :

Resolved by enabling the following options in Jenkins:
(In 'Source Code Management' advanced options.)
- Clean after checkout
- Wipe out workspace before build

Changed in openquake:
assignee: nobody → Lars Butler (lars-butler)
importance: Undecided → Low
status: New → Confirmed
status: Confirmed → Fix Committed
milestone: none → 0.4.4
Changed in openquake:
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.