diff options
author | Sravan Kumar Lakkimsetti | 2019-04-04 09:05:13 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2019-04-04 09:05:13 +0000 |
commit | e7af1dbb26931b90d58102c26132667f72c275ba (patch) | |
tree | c9064f817be863bb2a062e7e5e55cc8782161c3f /cje-production | |
parent | 986ec84a49185258bc7868c7867b358504024264 (diff) | |
download | eclipse.platform.releng.aggregator-e7af1dbb26931b90d58102c26132667f72c275ba.tar.gz eclipse.platform.releng.aggregator-e7af1dbb26931b90d58102c26132667f72c275ba.tar.xz eclipse.platform.releng.aggregator-e7af1dbb26931b90d58102c26132667f72c275ba.zip |
Bug 546105 - Collect build logs for CJE environment
Change-Id: I50d7ae47e8b27d4826cd3f802a8f4840827a5796
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'cje-production')
-rwxr-xr-x | cje-production/master-build.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cje-production/master-build.sh b/cje-production/master-build.sh index 72bd987f8..ca3e70c91 100755 --- a/cje-production/master-build.sh +++ b/cje-production/master-build.sh @@ -18,9 +18,17 @@ source $CJE_ROOT/scripts/common-functions.shsource chmod -R +x . +logDir=$CJE_ROOT/siteDir/buildlogs +mkdir -p $logDir + pushd mbscripts for i in $(ls | sort) do - fn-run-command ./$i $CJE_ROOT/buildproperties.shsource + fn-run-command ./$i $CJE_ROOT/buildproperties.shsource 2>&1 |tee $logDir/$i.log done popd + +source $CJE_ROOT/buildproperties.shsource + +mv -r $logDir $CJE_ROOT/$DROP_DIR/$BUILD_ID +mv $CJE_ROOT/buildproperties.* $CJE_ROOT/$DROP_DIR/$BUILD_ID |