diff options
author | 2017-11-29 17:38:10 -0800 | |
---|---|---|
committer | 2017-12-01 15:52:05 -0800 | |
commit | 6eee25420ff26ae2773531aea07024ead4f05fbf (patch) | |
tree | 368526c8eccc7e210ace12190a1a5b838c58de16 | |
parent | b74ac9b3ce17ba5057684588ebbf8d95465b7482 (diff) |
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 <tbramwell@linuxfoundation.org>
-rw-r--r-- | jjb/releng/opnfv-repo-archiver.sh | 2 | ||||
-rw-r--r-- | jjb/releng/opnfv-utils.yml | 13 |
2 files changed, 15 insertions, 0 deletions
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' |