Merge "Email a monthly repo archives link to OPNFV Legal"
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 11 Dec 2017 17:46:34 +0000 (17:46 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 11 Dec 2017 17:46:34 +0000 (17:46 +0000)
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 b525d3f..6f77cd2 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'