Merge ~morphis/snappy-hwe-snaps/+git/build-scripts:b/clean-results into ~snappy-hwe-team/snappy-hwe-snaps/+git/build-scripts:master

Proposed by Simon Fels
Status: Merged
Approved by: Alfonso Sanchez-Beato
Approved revision: dca0b5fb2a2719549202b92ab9ec0bf96281caef
Merged at revision: 9a0b76b8d70d8b2a353dc593141d084c80cf75db
Proposed branch: ~morphis/snappy-hwe-snaps/+git/build-scripts:b/clean-results
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/build-scripts:master
Diff against target: 15 lines (+1/-3)
1 file modified
jobs/generic-build-snap-worker (+1/-3)
Reviewer Review Type Date Requested Status
Alfonso Sanchez-Beato Approve
System Enablement Bot continuous-integration Approve
Review via email: mp+319551@code.launchpad.net

Description of the change

Properly clean up the workspace before starting to build

To post a comment you must log in.
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/jobs/generic-build-snap-worker b/jobs/generic-build-snap-worker
2index 83345f5..504edd8 100755
3--- a/jobs/generic-build-snap-worker
4+++ b/jobs/generic-build-snap-worker
5@@ -16,9 +16,7 @@
6
7 set -x
8
9-[ -e $WORKSPACE/src ] && rm -rf $WORKSPACE/src
10-
11-rm -f $WORKSPACE/build-props
12+rm -rf $WORKSPACE/src $WORKSPACE/results $WORKSPACE/build-props
13
14 git clone --no-checkout $TARGET_GIT_REPO $WORKSPACE/src
15 cd $WORKSPACE/src

Subscribers

People subscribed via source and target branches

to all changes: