blob: 7f3f5d6ca4b38960340f3652f30dfec720d3a5fc [file] [log] [blame]
The Tycho build automatically promotes downloads and updates, so no cron job help is necessary.
The updates can be checked by looking for the new entry on http://www.eclipse.org/modeling/mdt/downloads/?project=ocl
or installing new software from e.g. http://download.eclipse.org/modeling/mdt/ocl/updates/milestones/6.9.0/S201408191307
However operations on composite repositories are not automated, partly because they are sufficiently important to deserve manual attention.
A new milestone build can be added to the composite repository by:
logon to build.eclipse.org
cd ~/downloads/modeling/mdt/ocl/updates/milestones/6.9.0
ant -f /shared/modeling/tools/promotion/manage-composite.xml add -Dchild.repository=S201408191307 [ -Dcomposite.name="OCL 6.9.0 milestones" ]
(This can be checked by installing new software from e.g. http://download.eclipse.org/modeling/mdt/ocl/updates/milestones/6.9.0)
The SimRel aggregator is configured by GIT\org.eclipse.simrel.build\ocl.aggrcon to use an explicit milestone entry
So edit ocl.aggrcon to update
location="http://download.eclipse.org/modeling/mdt/ocl/updates/milestones/6.9.0/S201408191307"
commit with a comment such as [ocl] 6.9.0M1 for 2019-03 and Push to Gerrit (refs/for/master)
Browse the Gerrit change in the dialog response or find the job and so Gerrit change via https://ci.eclipse.org/simrel/job/simrel.runaggregator.VALIDATE.gerrit/
Login to Gerrit, (Eclipse user name + password), and once the (refreshed) Gerrit provides a Code-Review+2 button, click it, then click Submit. Chnage should show as successfully merged.
Once a release has been promoted update ocl.aggrcon to the final release
location="http://download.eclipse.org/modeling/mdt/ocl/updates/releases/6.9.0"
Downloads are accessible at
cd ~/downloads/modeling/mdt/ocl/downloads/drops/6.9.0
Archives are accessible at
cd /home/data/httpd/archive.eclipse.org/modeling/mdt/ocl/downloads/drops
cd /home/data/httpd/archive.eclipse.org/modeling/mdt/ocl/updates/releases
--------
GIT repo: /gitroot/ocl/org.eclipse.ocl.git
Build periodically: H 2 * * 0
Poll SCM schedule: H */6 * * 1-6
Run XVNC during build
Execute:
/shared/common/apache-maven-latest/bin/mvn clean verify -V -B -e -DBUILD_ALIAS=$BUILD_ALIAS -DBUILD_TYPE=$BUILD_TYPE -Dmaven.repo.local=/home/hudson/genie.ocl/.hudson/jobs/ocl-master/workspace/.maven/repo -f releng/org.eclipse.ocl.releng.tycho/pom.xml -P ${BUILD_TYPE} -P sign
Path: releng/org.eclipse.ocl.releng.build-site/target/repository
Name: OCL Tycho %BUILD_TYPE Repository
Publish JUnit test report: tests/*.test*/target/surefire-reports/*.xml,tests/*.test*/target/surefire-reports/*/*.xml
Archive the artefacts: releng/org.eclipse.ocl.releng.build-site/target/*.zip,releng/org.eclipse.ocl.releng.build-site/target/publisher.properties,releng/org.eclipse.ocl.releng.build-site/target/downloads.sh,releng/org.eclipse.ocl.releng.build-site/target/updates.sh
Trigger Promoter when table using releng/org.eclipse.ocl.releng.build-site/target/publisher.properties