diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-01-16 03:19:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-16 03:19:16 +0000 |
commit | dc7000ff2c74bc5e91aadd3e48a25f8d2edccd4b (patch) | |
tree | 600bd591ee868e2bb3f23fdfdc1dc58c39c100a9 /jjb/global/installer-report.sh | |
parent | 0a1fabc0109fda9c7839ef281011909b6f96b10a (diff) | |
parent | 36b4348e88e2dc2f8a53fa3b9d053aa0bd25abb9 (diff) |
Merge "Add macro for reporting the provision result"
Diffstat (limited to 'jjb/global/installer-report.sh')
-rwxr-xr-x | jjb/global/installer-report.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/jjb/global/installer-report.sh b/jjb/global/installer-report.sh new file mode 100755 index 000000000..e2fcfd6f6 --- /dev/null +++ b/jjb/global/installer-report.sh @@ -0,0 +1,25 @@ +#!/bin/bash +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +source $WORKSPACE/installer_track.sh +echo """ + INSTALLER: $INSTALLER + INSTALLER_VERSION: $INSTALLER_VERSION + JOB_NAME: $JOB_NAME + BUILD_ID: $BUILD_ID + SENARIO: $DEPLOY_SCENARIO + UPSTREAM_JOB_NAME: $UPSTREAM_JOB_NAME: + UPSTREAM_BUILD_ID: $UPSTREAM_BUILD_ID + PROVISION_RESULT: $PROVISION_RESULT + TIMESTAMP_START: $TIMESTAMP_START + TIMESTAMP_END: `date '+%Y-%m-%d %H:%M:%S.%3N'` + POD_NAME: $NODE_NAME +""" + +# TODO call TestAPI to report installer provisoin result when API is ready |