Merge "Update cloud image list docs"
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 16 Oct 2017 14:02:12 +0000 (14:02 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 16 Oct 2017 14:02:12 +0000 (14:02 +0000)
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/autorelease-templates.yaml

index 6271d8ae450147b27588ef97320afbde883c8b55..238fe9b5be20f767ac013208132bd49178171abe 100644 (file)
@@ -34,6 +34,9 @@
           # If the project is autorelease then we need to init and update submodules
           if [ "$GERRIT_PROJECT" == "releng/autorelease" ]; then
               git submodule update --init
+              # The previous checkout might have failed to remove directory of a submodule being removed.
+              # See https://stackoverflow.com/a/10761699
+              git clean -dff
           fi
 
 - builder:
index 4e9999b6112fdd8e23b56406f73d290fa9b0a599..dcea3236663fd23f1e64658ee47da86aaecf2712 100644 (file)
           files: '**/*.xml'
 
     builders:
-      - jacoco-nojava-workaround
       - autorelease-checkout-gerrit-patch
+      - jacoco-nojava-workaround
       - autorelease-generate-release-patches
       # In a perfect world projects should be releasing separately and we consume them
       # via a project that pulls the release bits from each project from Nexus.