Community
Participate
Working Groups
I would like to promote the GEF4 builds to a respective update site. However, it seems that my job does not have sufficient rights to access /home/data/httpd/download.eclipse.org/tools/gef/, if I interpret the following ant problem correctly: org.eclipse.gef4.repository: An Ant BuildException has occured: The following error occurred while executing this line: /opt/users/hudsonbuild/workspace/gef4-nightly-tycho/build/org.eclipse.gef4.repository/promote.xml:6: The following error occurred while executing this line: /opt/users/hudsonbuild/workspace/gef4-nightly-tycho/build/org.eclipse.gef4.repository/promote.xml:87: Failed to copy /opt/users/hudsonbuild/workspace/gef4-nightly-tycho/build/org.eclipse.gef4.repository/temp/update-site/features/org.eclipse.gef4.geometry.tests_0.1.0.201112222246.jar to /home/data/httpd/download.eclipse.org/tools/gef/gef4/updates/nightly/features/org.eclipse.gef4.geometry.tests_0.1.0.201112222246.jar due to failed to create the parent directory for /home/data/httpd/download.eclipse.org/tools/gef/gef4/updates/nightly/features/org.eclipse.gef4.geometry.tests_0.1.0.201112222246.jar
We don't 'encourage' allowing Hudson to write to your downloads area. I understand that some projects have done this, by adding acls or changing the required file permissions. I would suggest you use a shell script on build to copy the files where you need them. -M.
Ok, that's fine for release and milestone builds. What is the intended procedure for nightly builds then? Cron-job?
Sure, or by hand (whatever makes the most sense for your project). -M.
(In reply to comment #3) > Sure, or by hand (whatever makes the most sense for your project). > > -M. Last question: It seems I have access to build.eclipse.org but not to hudson.eclipse.org (when I try to ssh hudson.eclipse.org from build.eclipse.org, the connection gets closed). So how do I access hudson.eclipse.org and where do I have to copy the artifacts to (to make them available on download.eclipse.org)? I noticed the /home/data/httpd/download.eclipse.org directory seems to exist on both machines (rsynced?)...
You have 2 options: 1) Use the 'latest build' urls on Hudson and wget to grab the archived files. 2) on build: /opt/public/jobs/your_job_name/workspace/buildx I'd reccomend using #1 only because if we ever do permanently change the setup(ie: mount the jobs dir locally on hudson) the urls 'should' be more stable. /home/data/httpd/download.eclipse.org is nfs mounted on both build and hudson(so you can consume other projects without a trip via http). -M