Email a monthly repo archives link to OPNFV Legal 53/48053/2
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 30 Nov 2017 01:38:10 +0000 (17:38 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 1 Dec 2017 23:52:05 +0000 (15:52 -0800)
Each month we are asked for a copy of all the repositories for license
scanning. Sending out a link to this archive will save them from having
to ask.

Change-Id: I2f51688049b08a556f6bc8d8b098165c0ba281d8
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/releng/opnfv-repo-archiver.sh
jjb/releng/opnfv-utils.yml

index 2408c2a..6fa0aef 100644 (file)
@@ -61,6 +61,8 @@ echo "--------------------------------------"
 gsutil cp "$WORKSPACE/opnfv-archive-$DATE.tar.gz" \
     "gs://opnfv-archive/opnfv-archive-$DATE.tar.gz" 2>&1
 
+echo "https://storage.googleapis.com/opnfv-archive/opnfv-archive-$DATE.tar.gz" > archive-link.txt
+
 rm -f opnfv-archive-$DATE.tar.gz
 
 echo "Finished"
index 80cd08f..69836d5 100644 (file)
       - shell:
           !include-raw-escape: opnfv-repo-archiver.sh
 
+    publishers:
+      - email-ext:
+          content-type: 'text'
+          failure: false
+          always: true
+          body:
+            ${{FILE,path="archive-link.txt"}}
+          reply-to: >
+            helpdesk@opnfv.org
+          recipients: >
+            swinslow@linuxfoundation.org
+
+
 - job-template:
     name: 'check-status-of-slaves'