[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mat-dev] Hudson build is back to normal : cbi-mat-nightly #300
|
The main changes I made to get the hudson.eclipse.org CBI/Athena build
working, after it moved from build.eclipse.org were:
modify JAVA_HOME etc. in the build.properties to point to a Linux x86
build (JAVA_HOME doesn't seem to be set right on hudson.eclipse.org)
add a -javaHome to the build parameters - otherwise the wrong Java was
used to run the basic build!
Example of the problem:
[start] Export skipped: org.eclipse.releng.basebuilder already exists.
Environment variables:
HOME = <
https://hudson.eclipse.org/hudson/job/cbi-mat-nightly/ws/build>
JAVA_HOME = /opt/public/common/ibm-java2-ppc-50
ANT_HOME = /opt/public/common/apache-ant-1.7.1
ANT = /opt/public/common/apache-ant-1.7.1/bin/ant
[start] mapVersionTag: HEAD
[start] [09:10:05] Invoke Eclipse build
[09:10:05]
/opt/public/common/ibm-java2-ppc-50/bin/java
-enableassertions
-cp <
https://hudson.eclipse.org/hudson/job/cbi-mat-nightly/ws/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar
> org.eclipse.equinox.launcher.Main
The download of DTFJ from IBM failed
ftp://ftp.software.ibm.com/software/java/support/tools/dtfj/dtfj-updatesite.zip
I tried various ideas - setting
ftp_proxy=http://proxy.eclipse.org:9898
and JVM_ARGS etc etc. in Hudson and build.properties after following
http://wiki.eclipse.org/Hudson#Accessing_the_Internet_using_Proxy
but that didn't work. It worked on build.eclipse.org, and direct access
from my machine worked. I did notice that using manual ftp the ls command
would timeout at intermediate directories, so I tried encoding the
slashes, and specifying the proxy directly
ftp://anonymous*ftp.software.ibm.com@xxxxxxxxxxxxxxxxx:9898/software%2Fjava%2Fsupport%2Ftools%2Fdtfj%2Fdtfj-updatesite.zip
but that didn't work.
In the end I just used an alternative source for DTFJ - the IBM Support
Assistant update site.
http://public.dhe.ibm.com/software/isa/isa410/production/
I don't think the manual proxy settings are now needed - build 301
https://hudson.eclipse.org/hudson/view/Athena%20CBI%20%28SVN%29/job/cbi-mat-nightly/301/console
is a test to try without.
Added a
PACK200_JAVA_HOME=/shared/common/sun-jdk1.6.0_21_x64
to build.properties - otherwise the wrong JVM is used for p2
http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg04639.html
I set the JDK in Hudson to Java 6 R 21 64bit (Sun), but I think that's the
default.
I unchecked the ' Restrict where this project can be run' option.
I checked the 'Run Xvnc during build' but I don't know if this is needed.
http://wiki.eclipse.org/Common_Build_Infrastructure/Testing#Running_Tests_As_Part_Of_An_Athena_Build
Andrew
From: "Tsvetkov, Krum"
Date: 18/10/2010 07:55
Subject: RE: Hudson build is back to normal : cbi-mat-nightly #300
Thanks Andrew!
-----Original Message-----
From: hudsonbuild
Sent: Sonntag, 17. Oktober 2010 08:36
To: Margewitsch, Erwin; andrew_johnson; Tsvetkov, Krum
Subject: Hudson build is back to normal : cbi-mat-nightly #300
See <https://hudson.eclipse.org/hudson/job/cbi-mat-nightly/300/changes>
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU