]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-setup: wipe workspace 90/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 25 Jun 2015 20:32:47 +0000 (14:32 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 25 Jun 2015 20:38:58 +0000 (14:38 -0600)
The ceph-setup task occasionally gets weird errors that can only be
fixed by wiping the workspace.

The latest example:

    tardir=ceph-0.94.1.3 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >ceph-0.94.1.3.tar.gz
    tar: ceph-0.94.1.3/src/gmock/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj: file name is too long (max 99); not dumped
    tar: ceph-0.94.1.3/src/test/ubuntu-12.04/debian: File removed before we read it
    tar: ceph-0.94.1.3/src/test/ubuntu-14.04/debian: File removed before we read it
    tar: ceph-0.94.1.3/src/test/debian-jessie/debian: File removed before we read it
    tar: Exiting with failure status due to previous errors

... btw, <3 the comment in this job's description, "The clear workspace
before checkout box for the git plugin is used."

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph-setup/config/definitions/ceph-setup.yml

index 31d70c1efae371346826df0ef749ecae18b30025..1f48b498b83250cfe25dfecadc54743e6d55ebff 100644 (file)
@@ -27,6 +27,7 @@
           branches:
             - $BRANCH
           skip-tag: true
+          wipe-workspace: true
 
     builders:
       - shell: