[jbosstools-commits] JBoss Tools SVN: r43844 - trunk/build/publish.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Sep 19 17:38:11 EDT 2012
Author: nickboldt
Date: 2012-09-19 17:38:11 -0400 (Wed, 19 Sep 2012)
New Revision: 43844
Modified:
trunk/build/publish/publish.sh
Log:
JBIDE-11318 fetch build/results/ builder for .aggregate jobs because we're no longer checking it out of SVN
Modified: trunk/build/publish/publish.sh
===================================================================
--- trunk/build/publish/publish.sh 2012-09-19 18:04:30 UTC (rev 43843)
+++ trunk/build/publish/publish.sh 2012-09-19 21:38:11 UTC (rev 43844)
@@ -268,8 +268,15 @@
mkdir -p ${STAGINGDIR}/logs
# generate results page for an aggregate build only
-if [[ ${JOB_NAME/.aggregate} != ${JOB_NAME} ]] && [[ -f ${WORKSPACE}/sources/results/pom.xml ]] && [[ -f ${WORKSPACE}/sources/results/build.xml ]]; then
+if [[ ${JOB_NAME/.aggregate} != ${JOB_NAME} ]]; then
+ mkdir -p ${WORKSPACE}/sources/results
pushd ${WORKSPACE}/sources/results >/dev/null
+ resultsPageRoot=https://anonsvn.jboss.org/repos/jbosstools/trunk/build/results/
+ wget ${resultsPageRoot} -q --no-check-certificate -N
+ files=$(cat index.html | egrep -v "http://|\.\.|\.gitignore" | grep href | sed -e 's#.\+href="\(.\+\)".\+#'${resultsPageRoot}'\1#g' | egrep -v ".+/$|README")
+ if [[ $files ]]; then wget ${files} -q --no-check-certificate -N; fi
+ rm -f index.html
+
export JAVA_HOME=$(find /qa/tools/opt -maxdepth 1 -mindepth 1 -type d -name "jdk1.6.0_*" | sort | tail -1)
export M2_HOME=$(find /qa/tools/opt -maxdepth 1 -mindepth 1 -type d -name "apache-maven-3.0.*" | sort | tail -1)
${M2_HOME}/bin/mvn -q -B install -DJOB_NAME=${JOB_NAME} -DBUILD_NUMBER=${BUILD_NUMBER} -DBUILD_ID=${BUILD_ID}
More information about the jbosstools-commits
mailing list