cd ${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/mbscripts
cp ../P-build/buildproperties.txt ../buildproperties.txt
./mb010_createEnvfiles.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb010_createEnvfiles.sh.log
if [[ ${PIPESTATUS[0]} -ne 0 ]]
then
echo "Failed in Genrerate environment variables stage"
exit 1
fi
cd ${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/mbscripts
./mb011_loadPGPKeys.sh 2>&1 | tee $logDir/mb011_loadPGPKeys.sh.log
if [[ ${PIPESTATUS[0]} -ne 0 ]]
then
echo "Failed in Load PGP keys"
exit 1
fi
cd ${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/mbscripts
unset JAVA_TOOL_OPTIONS
unset _JAVA_OPTIONS
./mb220_buildSdkPatch.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb220_buildSdkPatch.sh.log
if [[ ${PIPESTATUS[0]} -ne 0 ]]
then
echo "Failed in Aggregator maven build stage"
exit 1
fi
cd ${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/mbscripts
bash -x ./mb300_gatherEclipseParts.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb300_gatherEclipseParts.sh.log
if [[ ${PIPESTATUS[0]} -ne 0 ]]
then
echo "Failed in Gather Eclipse Parts stage"
exit 1
fi
cd ${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/mbscripts
./mb620_promoteUpdateSite.sh $CJE_ROOT/buildproperties.shsource