Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Triquetrum/Releng/Milestone Builds"

(Added releng to two places.)
(Updating instructions for 0.4.0M1)
Line 2: Line 2:
 
To create a Triquetrum Milestone Build, follow these steps:
 
To create a Triquetrum Milestone Build, follow these steps:
 
# See [https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases Eclipse Development Process > Releases] and [[Version Numbering]] for how to select a version number.
 
# See [https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases Eclipse Development Process > Releases] and [[Version Numbering]] for how to select a version number.
# Update the version number using <code>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0</code>.  Note that we don't use the M here
+
# Update the version number using <code>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.4.0</code>.  Note that we don't use the M here
 
## See [https://stackoverflow.com/questions/11521839/how-to-automate-version-number-update-process-for-my-eclipse-plugin-built-with-m How to automate version number update process for my Eclipse plugin built with Maven]  
 
## See [https://stackoverflow.com/questions/11521839/how-to-automate-version-number-update-process-for-my-eclipse-plugin-built-with-m How to automate version number update process for my Eclipse plugin built with Maven]  
 
## See [https://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/set-version-mojo.html tycho-versions:set-version]
 
## See [https://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/set-version-mojo.html tycho-versions:set-version]
Line 8: Line 8:
 
## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/pom.xml releng/org.eclipse.triquetrum.repository/pom.xml] and update the version by removing <code>qualifier</code> from the <code>id</code>.
 
## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/pom.xml releng/org.eclipse.triquetrum.repository/pom.xml] and update the version by removing <code>qualifier</code> from the <code>id</code>.
 
## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/Triquetrum.product releng/org.eclipse.triquetrum.repository/Triquetrum.product] and remove <code>qualifier</code> from the <code>product uid</code>.
 
## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/Triquetrum.product releng/org.eclipse.triquetrum.repository/Triquetrum.product] and remove <code>qualifier</code> from the <code>product uid</code>.
### Change <br /><code><product name="Triquetrum" uid="org.eclipse.triquetrum.workflow.editor.rcp.incubation-0.2.1" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="0.3.0" useFeatures="true" includeLaunchers="true"></code> to <br /><code><product name="Triquetrum" uid="org.eclipse.triquetrum.workflow.editor.rcp.incubation-0.3.0M1" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="0.3.0" useFeatures="true" includeLaunchers="true"></code>
+
### Change <br /><code><product name="Triquetrum" uid="org.eclipse.triquetrum.workflow.editor.rcp.incubation-0.3.1" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="0.4.0" useFeatures="true" includeLaunchers="true"></code> to <br /><code><product name="Triquetrum" uid="org.eclipse.triquetrum.workflow.editor.rcp.incubation-0.4.0M1" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="0.4.0" useFeatures="true" includeLaunchers="true"></code>
 
## Update the version numbers in <code>releng/org.eclipse.triquetrum.repository/site.xml</code>.  Here, the <code>qualifier</code> text can remain.
 
## Update the version numbers in <code>releng/org.eclipse.triquetrum.repository/site.xml</code>.  Here, the <code>qualifier</code> text can remain.
 
## Run <code>mvn clean verify</code> and edit the <code>pom.xml</code> and <code>Triquetrum.product</code> until the files that are created have the correct names.
 
## Run <code>mvn clean verify</code> and edit the <code>pom.xml</code> and <code>Triquetrum.product</code> until the files that are created have the correct names.

Revision as of 11:06, 31 August 2020

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.4.0. Note that we don't use the M here
    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 releng/org.eclipse.triquetrum.repository/Triquetrum.product and remove qualifier from the product uid.
      1. Change
        <product name="Triquetrum" uid="org.eclipse.triquetrum.workflow.editor.rcp.incubation-0.3.1" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="0.4.0" useFeatures="true" includeLaunchers="true"> to
        <product name="Triquetrum" uid="org.eclipse.triquetrum.workflow.editor.rcp.incubation-0.4.0M1" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="0.4.0" useFeatures="true" includeLaunchers="true">
    3. Update the version numbers in releng/org.eclipse.triquetrum.repository/site.xml. Here, the qualifier text can remain.
    4. Run mvn clean verify and edit the pom.xml and Triquetrum.product until the files that are created have the correct names.
  4. The releng/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