Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2018-11-27 11:39:16 +0000
committerSravan Kumar Lakkimsetti2018-11-27 12:54:07 +0000
commit2dbd7cb8716597b9b951aaf10c8886a49e5349ca (patch)
treee3bdfaabe5a15ca4e88ac418295f41cb860607af /production/build-functions.shsource
parentd316171939d0a60c471b0f43caaba8300851fada (diff)
downloadeclipse.platform.releng.aggregator-2dbd7cb8716597b9b951aaf10c8886a49e5349ca.tar.gz
eclipse.platform.releng.aggregator-2dbd7cb8716597b9b951aaf10c8886a49e5349ca.tar.xz
eclipse.platform.releng.aggregator-2dbd7cb8716597b9b951aaf10c8886a49e5349ca.zip
Bug 541592 - Git Log for build should contain the repositories
Change-Id: I26f5f1c61e2ce6795cb80a36024008d30730b2ae Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'production/build-functions.shsource')
-rwxr-xr-xproduction/build-functions.shsource7
1 files changed, 6 insertions, 1 deletions
diff --git a/production/build-functions.shsource b/production/build-functions.shsource
index a95b73fa6..14978d140 100755
--- a/production/build-functions.shsource
+++ b/production/build-functions.shsource
@@ -561,10 +561,15 @@ fn-tag-build-inputs ()
# mail message, so it would be good to know if we are much delayed in getting that message out.
echo -e "\tThe tagging, and this report, were done at about $REPORTTIMESTAMP\n\n" >> ${GITLOG_FILE}
# This first one is for aggregator itself.
+ echo "Repository eclipse.platform.releng.aggregator" >> ${GITLOG_FILE}
+ echo;echo >> ${GITLOG_FILE}
git log ${lastTag}..${BUILD_ID} >> ${GITLOG_FILE}
+ echo >> ${GITLOG_FILE}
+ echo >> ${GITLOG_FILE}
# And now all submodules. Note we use --quiet specifically not to have the
# "Entering <submodule>" messages printed.
- git submodule --quiet foreach git log ${lastTag}..${BUILD_ID} >> ${GITLOG_FILE}
+ TMP_GIT_LOG=${TMP_DIR}/gitlog.txt
+ git submodule --quiet foreach "git log ${lastTag}..${BUILD_ID}>${TMP_GIT_LOG};FILESIZE=\$(stat -c%s ${TMP_GIT_LOG});if [ \$FILESIZE -ne 0 ]; then echo Repository: \$path;echo;cat ${TMP_GIT_LOG};echo;echo;fi" >> ${GITLOG_FILE}
else
echo -e "\n\tGit log not generated because a reasonable previous tag could not be found." > ${GITLOG_FILE}
fi

Back to the top