Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Milestone and Release Builds"
(Link to https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{warning|This information is out of date. For help with [https://www.eclipse.org/projects/handbook/#resources-builds builds] connect with the CBI team.}} | ||
+ | |||
Part of the [[Development_Resources/HOWTO/Incubation_Phase#Initial_Code_and_Development#Initial_Code_and_Development | Incubation Phase]] is to create regular milestone and release builds on the mirrored and fault-tolerant download server. | Part of the [[Development_Resources/HOWTO/Incubation_Phase#Initial_Code_and_Development#Initial_Code_and_Development | Incubation Phase]] is to create regular milestone and release builds on the mirrored and fault-tolerant download server. | ||
+ | |||
+ | The easiest way to do this is to create a publish.xml file in your repository target and then invoke ant. See https://hudson.eclipse.org/elk/ for Hudson jobs and see [https://github.com/eclipse/elk/blob/master/build/org.eclipse.elk.repository/publish.xml org.eclipse.elk.repository/publish.xml] for a sample ant script. | ||
+ | |||
+ | More specifically: | ||
+ | # Create a branch in your source tree | ||
+ | # Copy https://raw.githubusercontent.com/eclipse/elk/master/build/org.eclipse.elk.repository/publish.xml to your local *.repository/publish.xml. For example: <code>cd org.eclipse.triquetrum.repository;wget https://raw.githubusercontent.com/eclipse/elk/master/build/org.eclipse.elk.repository/publish.xml</code> | ||
+ | # Edit your copy of publish.xml and update | ||
+ | ## <code><project name="Eclipse Layout Kernel" basedir="."></code> to match your project name. | ||
+ | ## <code><property name="targetZipFileName" value="elk-nightly.zip" /></code> to match your project name. | ||
+ | # While in the top level directory, test the command: <code>ant -file *.repository/publish.xml -DtargetDir=/tmp/test zipIt copy</code> Adjust <code>*.repository</code> to match your layout. For example: <code>ant -file org.eclipse.triquetrum.repository/publish.xml -DtargetDir=/tmp/test zipIt copy</code> | ||
+ | # Update the Hudson job and add as the last step an ant command: | ||
+ | ## Targets: <code>zipIt copy</code> | ||
+ | ## Build File: <code>org.eclipse.triquetrum.repository/publisher.xml</code> | ||
+ | ## Properties: <code>targetDir=/shared/technology/triquetrum/updates/nightly/</code> | ||
+ | ### See [[Hudson#Server_Storage | Hudson -> Server Storage]] for the proper pathname | ||
+ | # Add the publish.xml file to the repo, commit the change, create a pull request and accept the pull requests. | ||
+ | # Go to the Hudson job, click Build Now and check the results. | ||
== See Also == | == See Also == | ||
+ | * [[IT_Infrastructure_Doc#Downloads | IT Infrastructure > Downloads]]: details about the downloads directory | ||
* [https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases Eclipse Development Process > Releases]: Information about milestone version numbers. See also [[Version Numbering]]. | * [https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases Eclipse Development Process > Releases]: Information about milestone version numbers. See also [[Version Numbering]]. | ||
* [[Hudson#Server_Storage | Hudson > Server Storage]]: layout of the directories from within [[Hudson]]. | * [[Hudson#Server_Storage | Hudson > Server Storage]]: layout of the directories from within [[Hudson]]. | ||
* [[Modeling_Project_Builds/Utilities | Modeling Project Builds > Utilities]]: utilities that simplify promotion of project builds run on a Hudson CI server. | * [[Modeling_Project_Builds/Utilities | Modeling Project Builds > Utilities]]: utilities that simplify promotion of project builds run on a Hudson CI server. | ||
* [https://dev.eclipse.org/mhonarc/lists/incubation/msg00133.html Incubation Mailing List June 2016]: a thread about release update sites. | * [https://dev.eclipse.org/mhonarc/lists/incubation/msg00133.html Incubation Mailing List June 2016]: a thread about release update sites. |
Latest revision as of 16:00, 6 November 2019
Part of the Incubation Phase is to create regular milestone and release builds on the mirrored and fault-tolerant download server.
The easiest way to do this is to create a publish.xml file in your repository target and then invoke ant. See https://hudson.eclipse.org/elk/ for Hudson jobs and see org.eclipse.elk.repository/publish.xml for a sample ant script.
More specifically:
- Create a branch in your source tree
- Copy https://raw.githubusercontent.com/eclipse/elk/master/build/org.eclipse.elk.repository/publish.xml to your local *.repository/publish.xml. For example:
cd org.eclipse.triquetrum.repository;wget https://raw.githubusercontent.com/eclipse/elk/master/build/org.eclipse.elk.repository/publish.xml
- Edit your copy of publish.xml and update
-
<project name="Eclipse Layout Kernel" basedir=".">
to match your project name. -
<property name="targetZipFileName" value="elk-nightly.zip" />
to match your project name.
-
- While in the top level directory, test the command:
ant -file *.repository/publish.xml -DtargetDir=/tmp/test zipIt copy
Adjust*.repository
to match your layout. For example:ant -file org.eclipse.triquetrum.repository/publish.xml -DtargetDir=/tmp/test zipIt copy
- Update the Hudson job and add as the last step an ant command:
- Targets:
zipIt copy
- Build File:
org.eclipse.triquetrum.repository/publisher.xml
- Properties:
targetDir=/shared/technology/triquetrum/updates/nightly/
- See Hudson -> Server Storage for the proper pathname
- Targets:
- Add the publish.xml file to the repo, commit the change, create a pull request and accept the pull requests.
- Go to the Hudson job, click Build Now and check the results.
See Also
- IT Infrastructure > Downloads: details about the downloads directory
- Eclipse Development Process > Releases: Information about milestone version numbers. See also Version Numbering.
- Hudson > Server Storage: layout of the directories from within Hudson.
- Modeling Project Builds > Utilities: utilities that simplify promotion of project builds run on a Hudson CI server.
- Incubation Mailing List June 2016: a thread about release update sites.