diff options
author | CamVan Nguyen <ctnguyen@us.ibm.com> | 2018-06-18 15:58:23 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-07-10 23:28:26 -0400 |
commit | f13cb430ae5b8b7c481635d41a77ac34dd1ce622 (patch) | |
tree | d0aca85e05f25219b934e4f89b1800dd52eae7e9 /src/build/citest | |
parent | 9a9bc342c9430ee335a948dc69702cadab48a83d (diff) | |
download | talos-hostboot-f13cb430ae5b8b7c481635d41a77ac34dd1ce622.tar.gz talos-hostboot-f13cb430ae5b8b7c481635d41a77ac34dd1ce622.zip |
Post list of git commits in HB release to CMVC feature
- This will enable people to see all the commits in an HB
release by viewing the CMVC feature
Change-Id: I824a4fc613b461ec898040dccb053d83aa79d961
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60832
Reviewed-by: Sameer R. Veer <sveer@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/citest')
-rwxr-xr-x | src/build/citest/auto-release | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/build/citest/auto-release b/src/build/citest/auto-release index aea767182..8110d397c 100755 --- a/src/build/citest/auto-release +++ b/src/build/citest/auto-release @@ -146,7 +146,7 @@ function buildrel-create-track { # echo -e "[$(date)]\n##### -> git checkout gerrit/master || exit -1\n" git checkout gerrit/master || exit -1 - # + # echo -e "[$(date)]\n#####-> hbRelease create-track --level $RELEASE_NAME\ --release $FIPS_RELEASE --released $PREVIOUS_RELEASE --track \ $EXISTING_TRACK || exit -1\n" @@ -339,6 +339,16 @@ function build { git log --date=short --pretty=format:"%h - %an, %ad : %s" ${PREVIOUS_RELEASE}..${RELEASE_NAME}|egrep -v "$RELEASE_NAME|$PREVIOUS_RELEASE" >> $RELEASENOTESTXT echo -e "#-----------<E-O-F>---------------#\n" >> $RELEASENOTESTXT cat $RELEASENOTESTXT | mail -s "List of commit(s) in track:$FEATURE (release: $RELEASE_NAME)" $RELEASE_ADMINS + + # CMVC_FEATURE_FILE contains one line: 'FEATURE=<feature#>'. + # Get the feature# + IFS='=', read -r -a featureArray <<< $FEATURE + feature=${featureArray[1]} + # RELEASENOTESTXT contains the list of git commits in the HB release + # Post the list to the CMVC feature by adding the content of + # RELEASENOTESTXT as remarks to the feature identified by $feature + Feature -note $feature -remarks "$(cat $RELEASENOTESTXT)" + # ### @todo RTC:171143 ### Sleep for 5 minutes to allow time for CMVC req's to take effect |