Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2019-12-05 11:31:26 +0000
committerSravan Kumar Lakkimsetti2019-12-05 11:31:26 +0000
commitfb3f4566157713e55db097ea15f668dd1a974533 (patch)
tree9202064c6ccd87b6e0ced658e56fdf2ca3cc3ff1
parent8a68be261c585eaddfc52257c1c40984df0ed22e (diff)
downloadeclipse.platform.releng.aggregator-fb3f4566157713e55db097ea15f668dd1a974533.tar.gz
eclipse.platform.releng.aggregator-fb3f4566157713e55db097ea15f668dd1a974533.tar.xz
eclipse.platform.releng.aggregator-fb3f4566157713e55db097ea15f668dd1a974533.zip
Bug 553757 - Migrate I-builds to new infra
Change-Id: I8006a226466bf68a27478ed50d91aedd2574da48 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rwxr-xr-xcje-production/master-build.sh3
-rwxr-xr-xcje-production/mbscripts/mb500_createRepoReports.sh4
-rwxr-xr-xcje-production/mbscripts/mb510_createApiToolsReports.sh4
3 files changed, 11 insertions, 0 deletions
diff --git a/cje-production/master-build.sh b/cje-production/master-build.sh
index b30220db3..ee7ab812d 100755
--- a/cje-production/master-build.sh
+++ b/cje-production/master-build.sh
@@ -25,6 +25,9 @@ pushd mbscripts
for i in $(ls | sort)
do
fn-run-command ./$i $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/$i.log
+ if [ $? != 0 ];then
+ fn-write-property BUILD_FAILED "${BUILD_FAILED} \n$$CJE_ROOT/$DROP_DIR/$BUILD_ID/buildlogs/$i.log"
+ fi
done
popd
diff --git a/cje-production/mbscripts/mb500_createRepoReports.sh b/cje-production/mbscripts/mb500_createRepoReports.sh
index fe651855f..85495c5b8 100755
--- a/cje-production/mbscripts/mb500_createRepoReports.sh
+++ b/cje-production/mbscripts/mb500_createRepoReports.sh
@@ -24,6 +24,10 @@ wait
source $CJE_ROOT/scripts/common-functions.shsource
source $1
+if [ ! -z BUILD_FAILED ]; then
+ exit 0
+fi
+
buildToTest=$CJE_ROOT/$UPDATES_DIR/$BUILD_ID
output_dir=$CJE_ROOT/$DROP_DIR/$BUILD_ID/buildlogs
tar_name=org.eclipse.cbi.p2repo.analyzers.product-linux.gtk.x86_64.tar.gz
diff --git a/cje-production/mbscripts/mb510_createApiToolsReports.sh b/cje-production/mbscripts/mb510_createApiToolsReports.sh
index a95d85783..1d731154b 100755
--- a/cje-production/mbscripts/mb510_createApiToolsReports.sh
+++ b/cje-production/mbscripts/mb510_createApiToolsReports.sh
@@ -22,6 +22,10 @@ fi
source $CJE_ROOT/scripts/common-functions.shsource
source $1
+if [ ! -z BUILD_FAILED ]; then
+ exit 0
+fi
+
ANT_SCRIPT=$ECLIPSE_BUILDER_DIR/eclipse/buildScripts/api-tools-builder.xml
# Change to appropriate versions and uncomment when entering API freeze

Back to the top