diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2018-03-23 00:28:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-23 00:28:02 +0000 |
commit | 71e3c19841704f65956e23407223bd3792664e48 (patch) | |
tree | 921a8d8f9c5794993c27ca2b18f69f6a4e735e28 /jjb/xci | |
parent | 80d776b4c19bbc8ba48a5e15c7ee5d365cd238fe (diff) | |
parent | 406422a0f7c4672915819250a0a4a72a5f5c5ffa (diff) |
Merge "xci: Record additional promotion metadata for further use"
Diffstat (limited to 'jjb/xci')
-rwxr-xr-x | jjb/xci/xci-promote.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jjb/xci/xci-promote.sh b/jjb/xci/xci-promote.sh index fb7e0e6fa..07fff8030 100755 --- a/jjb/xci/xci-promote.sh +++ b/jjb/xci/xci-promote.sh @@ -30,6 +30,10 @@ if [ ! -f $LOCAL_PROMOTION_METADATA_FILE ]; then exit 1 fi +# put additional info into the metadata file so we can use that for displaying the information +echo "PROMOTED_BY=$BUILD_URL" >> $LOCAL_PROMOTION_METADATA_FILE +echo "PROMOTED_ON=$(date '+%F_%H:%M')" >> $LOCAL_PROMOTION_METADATA_FILE + # upload promotion metadata file to OPNFV artifact repo echo "Storing promotion metadata as $REMOTE_PROMOTION_METADATA_FILE" gsutil cp $LOCAL_PROMOTION_METADATA_FILE $REMOTE_PROMOTION_METADATA_FILE > /dev/null 2>&1 |