Wipe also non-ODL artifacts before building autorelease 68/40068/2
authorVratko Polak <vrpolak@cisco.com>
Thu, 9 Jun 2016 17:12:22 +0000 (19:12 +0200)
committerVratko Polak <vrpolak@cisco.com>
Thu, 9 Jun 2016 17:12:22 +0000 (19:12 +0200)
When testing https://git.opendaylight.org/gerrit/#/c/35558/4
At first, my local tests were passing,
but they failed when I deleted one non-ODL artifact from my .m2 repo.

This Change will make sure ODL projects have all dependencies ready for packaging,
not relying on them just happen to lay in the local maven reporitory.

Change-Id: I58593bd99fd215feb295dbe9701bb2a50bf1f9f4
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jjb/autorelease/autorelease-templates.yaml
jjb/releng-macros.yaml

index 8eec73145cf6ec8afcc07be0c116e4e1ed23df24..4732b52aa276f9ab01cab9bd0c65500e2d5a967d 100644 (file)
@@ -40,7 +40,7 @@
         - timed: 'H 0 * * *'
 
     prebuilders:
-        - wipe-org-opendaylight-repo
+        - wipe-local-maven-repo
         - jacoco-nojava-workaround
         - autorelease-cfp:
             autorelease-settings: '{autorelease-settings}'
index 5234161e242f8904cc37fa112f0bfa37ea309d77..1a23ad8cbf7ebe637008261025702f8950dc47d3 100644 (file)
     builders:
         - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
 
+- builder:
+    name: wipe-local-maven-repo
+    builders:
+        - shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
+
 - builder:
     name: jacoco-nojava-workaround
     builders: