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 "Triquetrum/Releng/Milestone Builds"

(Updates for 0.3.0M1 and Jenkins.)
(Correct URL to build.)
Line 11: Line 11:
 
# The [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/publish.xml org.eclipse.triquetrum.repository/publish.xml] file contains a copyZips target that is invoked by the triquetrum.milestone build.
 
# The [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/publish.xml org.eclipse.triquetrum.repository/publish.xml] file contains a copyZips target that is invoked by the triquetrum.milestone build.
 
## Update the milestone directory: configure the [https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/configure Jenkins triquetrum.milestone build], under Invoke Ant click on Advanced Properties and update <code>targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.3.0M1/</code>, make the same edit in the '''second''' Invoke Ant area, then save the change [[File:TriquetrumHudsonMilestoneScreenshot.png|900px|Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section]]
 
## Update the milestone directory: configure the [https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/configure Jenkins triquetrum.milestone build], under Invoke Ant click on Advanced Properties and update <code>targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.3.0M1/</code>, make the same edit in the '''second''' Invoke Ant area, then save the change [[File:TriquetrumHudsonMilestoneScreenshot.png|900px|Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section]]
# Invoke the Milestone build by going to [https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/configure Jenkins triquetrum.milestone build] noting the Build Trigger Token and replacing TOKEN_NAME in the fullowing URL: /job/triquetrum.milestone/build?token=TOKEN_NAME
+
# Invoke the Milestone build by going to [https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/configure Jenkins triquetrum.milestone build] noting the Build Trigger Token and replacing TOKEN_NAME in the fullowing URL: https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/build?token=TOKEN_NAME
 
# To see what files are created, see http://download.eclipse.org/triquetrum/0.3.0M1/?d
 
# To see what files are created, see http://download.eclipse.org/triquetrum/0.3.0M1/?d
 
# When you are satisfied with the output, in the [https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/configure Jenkins triquetrum.milestone build]:
 
# When you are satisfied with the output, in the [https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/configure Jenkins triquetrum.milestone build]:

Revision as of 18:44, 24 August 2019

Create a Triquetrum Milestone Build

To create a Triquetrum Milestone Build, follow these steps:

  1. See Eclipse Development Process > Releases and Version Numbering for how to select a version number.
  2. Update the version number using mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0. Note that we don't use the Mi
    1. See How to automate version number update process for my Eclipse plugin built with Maven
    2. See tycho-versions:set-version
  3. Update the version numbers by hand:
    1. Edit releng/org.eclipse.triquetrum.repository/pom.xml and update the version by removing qualifier from the id.
    2. Edit org.eclipse.triquetrum.repository/Triquetrum.product] and remove qualifier from the product uid.
    3. Run mvn clean verify and edit the pom.xml and Triquetrum.product until the files that are created have the correct names.
  4. The org.eclipse.triquetrum.repository/publish.xml file contains a copyZips target that is invoked by the triquetrum.milestone build.
    1. Update the milestone directory: configure the Jenkins triquetrum.milestone build, under Invoke Ant click on Advanced Properties and update targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.3.0M1/, make the same edit in the second Invoke Ant area, then save the change Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section
  5. Invoke the Milestone build by going to Jenkins triquetrum.milestone build noting the Build Trigger Token and replacing TOKEN_NAME in the fullowing URL: https://ci.eclipse.org/triquetrum/job/triquetrum.milestone/build?token=TOKEN_NAME
  6. To see what files are created, see http://download.eclipse.org/triquetrum/0.3.0M1/?d
  7. When you are satisfied with the output, in the Jenkins triquetrum.milestone build:
    1. Update the targetDir to the next milestone release so that we don't accidentally overwrite the current release
  8. Edit Triquetrum Downloads.
  9. Eventually: update the version number of the master branch to the next version using mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.1

See Also

Back to the top