Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354735

Summary: Automate signing and publishing of MAT build artifacts
Product: [Tools] MAT Reporter: Krum Tsvetkov <krum.tsvetkov>
Component: CoreAssignee: Krum Tsvetkov <krum.tsvetkov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: andrew_johnson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Krum Tsvetkov CLA 2011-08-15 10:25:50 EDT
It will be nice if we can extend the current Tycho build, so that it also signs the plugins and publishes them on the download site. There are already other eclipse projects doing this (with tycho). 
I will try to enable this also for MAT. As a first step I will try to do it for the update site, copying the pom.xml fragments from the egit build.
Comment 1 Krum Tsvetkov CLA 2011-08-15 11:00:11 EDT
With change 1169 I added some changes to:
- use the maven assembly plugin to build a zip file with the update site (tested locally)
- add entries in pom.xml for the update site to enable signing and publishing. These need to be tested on the server. One needs to specify the build-server profile (-P build-server) when starting the build.
I'll update the ticket with the results.
Comment 2 Krum Tsvetkov CLA 2011-08-16 06:36:25 EDT
The tests were successful. Now the tycho-mat-nightly build also signs the jars and publishes the update site to the download server. For the moment I took this location: http://download.eclipse.org/mat/latest/updates-nightly.
I was able to update from there both a standalone MAT (with the RCP feature) and an Eclipse IDE.

Still to fix:
- the proper update site location. @Andrew: what do you think, shall we use /latest/rcp and /latest/update-nightly, or /latest/update-site. Or may be /nightly/update-site and /nightly/rcps. Or /snapshots instead of nightly?
Do you have any preferences?

- the update site should also pack some other files - an index.html etc... This didn't work for some reason in my tests so far. I'll need to figure out how to solve it.

- should we also move the standalone MAT zips? There I have to see how to properly generate the download links. Or may be I can just fix the names and change the content. Not sure if this will work with the mirrors... I'll spend some time to research on this.
Comment 3 Andrew Johnson CLA 2011-08-16 07:01:38 EDT
I'll have a think about what the update site locations should be.
The Eclipse project sites are documented here:
http://wiki.eclipse.org/Eclipse_Project_Update_Sites
Comment 4 Krum Tsvetkov CLA 2011-10-04 09:38:23 EDT
I updated the snapshotsBuilds page to point to the latest results.
http://www.eclipse.org/mat/snapshotBuilds.php
Comment 5 Krum Tsvetkov CLA 2013-05-14 02:25:04 EDT
I think the setup we used in the last year is good enough.
I am closing the bug as no concrete further improvements are planned.