Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348575 - Move Orion builds to Hudson
Summary: Move Orion builds to Hudson
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Releng (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0 M2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 352152
Blocks:
  Show dependency tree
 
Reported: 2011-06-07 10:27 EDT by Tomasz Zarna CLA
Modified: 2013-09-27 12:01 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-06-07 10:27:13 EDT
I remember that some time ago I tried to build Orion on a locally hosted Hudson, but I failed. After having a chat with Andrew, he told me that he is (or will be) working on moving Orion builds to Hudson. 

When I noticed hudson.bat file in org.eclipse.orion.releng project I thought that maybe it has already happened. Andrew, what's the status? Is there anything I can help with?
Comment 1 Andrew Niefer CLA 2011-06-07 14:45:02 EDT
The hudson.bat file is for running the javascript unit tests for IE9.  The only windows machine at eclipse.org for doing this is the windows hudson slave.


To run the Orion build we need the webmaster to create a new hudson job for us (easy).  

Currently the build runs as the user e4Build on build.eclipse.org.  This user is currently set up to access dev.eclipse.org as me to publish results as well as to tag the git repos and update the map files.  To run on hudson we need to figure out how to get the hudson account to log in e4Build@build.eclipse.org, or we need to figure out how to get the hudson account access to dev.eclipse.org to update the repo and publish results.

http://wiki.eclipse.org/Orion/Releng_Setup_Details#Starting_the_build has some details on the releng process, some amount of this would need to be ported for hudson.
Comment 2 Andrew Niefer CLA 2011-07-18 16:49:52 EDT
We have a hudson job now:

https://hudson.eclipse.org/hudson/job/orion-integration-build/


Orion committers should be able to log in and start a build there.
This will do what we were calling a "nightly" build before, which is a build of the latest on master, there is no tagging here like there is for the current integration builds.

The build results will be found in the hudson workspace, something like this:
https://hudson.eclipse.org/hudson/job/orion-integration-build/ws/N201107181537/N20110718-1537/drop/

Currently these results are not yet copied to the normal download site.
Comment 3 Andrew Niefer CLA 2011-07-18 16:51:56 EDT
The tests are not yet running for these hudson builds.
Comment 4 Simon Kaegi CLA 2011-10-07 16:26:33 EDT
Andrew can you add some comments on where things are here and the re-assign to the inbox.
Comment 5 Andrew Niefer CLA 2011-10-20 13:53:41 EDT
Last I left things, any commiter should be able to run a build on hudson on demand by going to 

https://hudson.eclipse.org/hudson/job/orion-integration-build/

The things that were left to do for moving the builds here completely were
Scheduling builds
 - should be able to do this easily in the hudson job itself.

Getting the results and publishing them to the download page.
 This is the real thing that needs to be done, the hudson user does not have permission to write to the download areas.  One way to do this is to schedule a cron job on build.eclipse.org that occasionally checks for builds and then publishes the results.

Some notes on build.eclipse.org:
/shared/jobs/orion-integration-build contains build information/logs.
Perhaps if the job was configured to archive the artifacts (currently the results are just left in the workspace), then those artifacts would likely show up here.
Comment 6 Matthias Sohn CLA 2013-08-05 18:47:58 EDT
Can we close this bug ? Hudson jobs for the new Tycho build are available.
Comment 7 John Arthorne CLA 2013-09-27 12:01:53 EDT
(In reply to Matthias Sohn from comment #6)
> Can we close this bug ? Hudson jobs for the new Tycho build are available.

We are very close, but we have bug 414425 to capture remaining details so I will close this.