upload ppa and corresponding md5 at the same time 79/2779/1
authorm00133142 <meimei@huawei.com>
Sat, 24 Oct 2015 18:00:35 +0000 (11:00 -0700)
committerm00133142 <meimei@huawei.com>
Sat, 24 Oct 2015 18:00:35 +0000 (11:00 -0700)
JIRA: COMPASS-115

Change-Id: I4184896fbac28f2aab9cbd6aa07dc35dfa407f85
Signed-off-by: m00133142 <meimei@huawei.com>
jjb/compass4nfv/compass4nfv.yml

index 55f38e1..ee589d3 100644 (file)
             branch: 'master'
 
     triggers:
-        - timed: 'H 4-18/2 * * *'
+        - timed: 'H 16 * * *'
 
     builders:
         - 'builder-compass-make-ppa'
             do
                 md5=$(md5sum $i | cut -d ' ' -f1)
                 echo $md5 > $i.md5
-            done
-            # upload PPA
-            for i in $(find *.gz *.iso *.img *.md5 -type f)
-            do
                 curl -T $i $PPA_REPO
+                curl -T $i.md5 $PPA_REPO
             done
 
 - builder: