Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "MoDisco/Releng/How to Use"

(New page: == How to start a build? == === Automatically === * Nightly builds are run every 6 hours everyday, at 02:10, 08:10, 14:10 and 20:10 [http://en.wikipedia.org/wiki/Eastern_Time_Zone EST], ...)
 
Line 12: Line 12:
 
* Nightly build : go to [https://build.eclipse.org/hudson/job/cbi-modisco-nightly/ https://build.eclipse.org/hudson/job/cbi-modisco-nightly/]
 
* Nightly build : go to [https://build.eclipse.org/hudson/job/cbi-modisco-nightly/ https://build.eclipse.org/hudson/job/cbi-modisco-nightly/]
 
* Integration build : go to [https://build.eclipse.org/hudson/job/cbi-modisco-integration/ https://build.eclipse.org/hudson/job/cbi-modisco-integration/]
 
* Integration build : go to [https://build.eclipse.org/hudson/job/cbi-modisco-integration/ https://build.eclipse.org/hudson/job/cbi-modisco-integration/]
 +
 +
Then:
 +
* In Hudson, click on '''Build Now''', change the build parameters as needed (see [[#Build parameters]]), and click on '''Build'''.
 +
* You can then click on the job name in the ''Build History'' section in the left column, and then on '''Console Output''', to follow build progress in real time.
 +
 +
== How to publish a build? ==
 +
=== Automatically ===
 +
Successful nightly and integration builds are automatically published to download.eclipse.org. For example, a nightly build for version 0.8.0, created on October 6 2009 at 11:54 EST would be published to:
 +
/modeling/gmt/modisco/downloads/drops/0.8.0/N200910061154
 +
They can then be seen and downloaded from [http://www.eclipse.org/gmt/modisco/downloads/ http://www.eclipse.org/gmt/modisco/downloads/].
 +
 +
=== Manually ===
 +
'''S'''table, '''M'''aintenance and '''R'''elease builds are not automatically published. They should be first tested internally before publishing. For example, to publish the 0.8.0M2 milestone build:
 +
* First, fetch the build archive to test:
 +
scp -r <commiterid>@build.eclipse.org:/opt/users/hudsonbuild/.hudson/jobs/cbi-modisco-integration/lastSuccessful/archive/build/* .
 +
* Then, test the build locally
 +
* Then, publish it:
 +
ssh <commiterid>@build.eclipse.org
 +
cd /opt/users/hudsonbuild/.hudson/jobs/cbi-modisco-integration/lastSuccessful/archive/build/
 +
cp -r S200910061155 /home/data/httpd/download.eclipse.org/modeling/gmt/modisco/downloads/drops/0.8.0/
 +
* Finally, for a release, update the update site with the new build:
 +
rm -rf /home/data/httpd/download.eclipse.org/modeling/gmt/modisco/update/release/*
 +
unzip S200910061155/MODISCO-Update-incubation-0.8.0M2.zip -d /home/data/httpd/download.eclipse.org/modeling/gmt/modisco/update/release/

Revision as of 09:46, 7 October 2009

How to start a build?

Automatically

  • Nightly builds are run every 6 hours everyday, at 02:10, 08:10, 14:10 and 20:10 EST, if SVN changed since the last build.
  • Integration builds are started every Tuesday at 06:36 EST (11:36 or 12:36 GMT), if the releng project changed since the last integration build.

Manually

Then:

  • In Hudson, click on Build Now, change the build parameters as needed (see #Build parameters), and click on Build.
  • You can then click on the job name in the Build History section in the left column, and then on Console Output, to follow build progress in real time.

How to publish a build?

Automatically

Successful nightly and integration builds are automatically published to download.eclipse.org. For example, a nightly build for version 0.8.0, created on October 6 2009 at 11:54 EST would be published to:

/modeling/gmt/modisco/downloads/drops/0.8.0/N200910061154

They can then be seen and downloaded from http://www.eclipse.org/gmt/modisco/downloads/.

Manually

Stable, Maintenance and Release builds are not automatically published. They should be first tested internally before publishing. For example, to publish the 0.8.0M2 milestone build:

  • First, fetch the build archive to test:
scp -r <commiterid>@build.eclipse.org:/opt/users/hudsonbuild/.hudson/jobs/cbi-modisco-integration/lastSuccessful/archive/build/* .
  • Then, test the build locally
  • Then, publish it:
ssh <commiterid>@build.eclipse.org
cd /opt/users/hudsonbuild/.hudson/jobs/cbi-modisco-integration/lastSuccessful/archive/build/
cp -r S200910061155 /home/data/httpd/download.eclipse.org/modeling/gmt/modisco/downloads/drops/0.8.0/
  • Finally, for a release, update the update site with the new build:
rm -rf /home/data/httpd/download.eclipse.org/modeling/gmt/modisco/update/release/*
unzip S200910061155/MODISCO-Update-incubation-0.8.0M2.zip -d /home/data/httpd/download.eclipse.org/modeling/gmt/modisco/update/release/

Back to the top