From 6eee25420ff26ae2773531aea07024ead4f05fbf Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Wed, 29 Nov 2017 17:38:10 -0800 Subject: Email a monthly repo archives link to OPNFV Legal 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 --- jjb/releng/opnfv-repo-archiver.sh | 2 ++ jjb/releng/opnfv-utils.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+) (limited to 'jjb') diff --git a/jjb/releng/opnfv-repo-archiver.sh b/jjb/releng/opnfv-repo-archiver.sh index 2408c2a83..6fa0aef50 100644 --- a/jjb/releng/opnfv-repo-archiver.sh +++ b/jjb/releng/opnfv-repo-archiver.sh @@ -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" diff --git a/jjb/releng/opnfv-utils.yml b/jjb/releng/opnfv-utils.yml index 80cd08f4e..69836d53b 100644 --- a/jjb/releng/opnfv-utils.yml +++ b/jjb/releng/opnfv-utils.yml @@ -65,6 +65,19 @@ - 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' -- cgit 1.2.3-korg