diff options
author | David Williams | 2013-01-13 00:05:16 +0000 |
---|---|---|
committer | David Williams | 2013-01-13 00:05:16 +0000 |
commit | fea26ec53b787dcc5783bd40cd763397c3c39d2d (patch) | |
tree | d308d2241612190615317b71646c0fbf77f97676 | |
parent | 50ef6d2d9a8082e4fadab9106ed6de224105110a (diff) | |
download | eclipse.platform.releng.aggregator-fea26ec53b787dcc5783bd40cd763397c3c39d2d.tar.gz eclipse.platform.releng.aggregator-fea26ec53b787dcc5783bd40cd763397c3c39d2d.tar.xz eclipse.platform.releng.aggregator-fea26ec53b787dcc5783bd40cd763397c3c39d2d.zip |
Bug 398017 - [CBI] Many exceptions in log about writing to /tmp
(permission denied)
-rw-r--r-- | scripts/build_eclipse_org.env | 4 | ||||
-rw-r--r-- | scripts/master-build.sh | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build_eclipse_org.env b/scripts/build_eclipse_org.env index 64a9bbbe5..d9c422893 100644 --- a/scripts/build_eclipse_org.env +++ b/scripts/build_eclipse_org.env @@ -7,9 +7,11 @@ BRANCH=${BRANCH:-master} STREAM=${STREAM:-4.3.0} BUILD_TYPE=${BUILD_TYPE:-N} +TMP_DIR=${TMP_DIR:-${BUILD_ROOT}/tmp} + # these could be machine specific JAVA_HOME=${JAVA_HOME:-/shared/common/jdk1.7.0} -MAVEN_OPTS=${MAVEN_OPTS:--Xmx2048m} +MAVEN_OPTS=${MAVEN_OPTS:--Xmx2048m -Djava.io.tmpdir=${TMP_DIR}} MAVEN_PATH=${MAVEN_PATH:-/shared/common/apache-maven-3.0.4/bin} AGGREGATOR_REPO=git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git diff --git a/scripts/master-build.sh b/scripts/master-build.sh index bc3eaa769..9247c6b5d 100644 --- a/scripts/master-build.sh +++ b/scripts/master-build.sh @@ -47,6 +47,9 @@ echo "BUILD_ENV_FILE=$1" >>$BUILD_ENV_FILE echo "BUILD_ID=$BUILD_ID" >>$BUILD_ENV_FILE echo "BUILD_DATE=\"$(date)\"" >>$BUILD_ENV_FILE +# log ALL environment variables in case its helpful in documenting or debugging build results or differences +env 2>&1 | tee $logsDirectory/all-env-variables.txt + $SCRIPT_PATH/get-aggregator.sh $BUILD_ENV_FILE 2>&1 | tee $logsDirectory/get-aggregator-ouptut.txt checkForErrorExit $? "Error occurred while getting aggregator" |