Jump to: navigation, search

Common Build Infrastructure/EMF

< Common Build Infrastructure
Revision as of 12:27, 16 March 2010 by Nickboldt.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning2.png
Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.


Athena Releng Project

Hudson Jobs

Publishing

To publish EMF and XSD, do the following:

Nightly:

/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-nightly/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-nightly/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-N.properties

Integration:

/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-I.properties

Milestone / Release (clean the target dir before publishing to scrub any obsolete N or I builds):

rm -fr /home/data/httpd/download.eclipse.org/modeling/emf/emf/updates/2.6/*
/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-S.properties
/opt/public/common/apache-ant-1.7.1/bin/ant -f \
 /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote.xml \
 -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-core-2.6-integration/workspace/org.eclipse.emf/org.eclipse.emf/releng/org.eclipse.emf.releng.athena/promote-S.properties \
 -DcoordinatedReleaseBuildFile=:ext:nickb@dev.eclipse.org:/cvsroot/callisto:org.eclipse.helios.build/mdt-xsd.build

CVS Tagging

To tag (before or after a build), you can use the Eclipse Releng Tools Plugin, or simply rtag CVS this way:

for d in $(find . -maxdepth 1 -type d -name "org.*"); do \
 echo $d; cd $d; \
 cvs rtag -RFf v20100315-1340 $(cat CVS/Repository); \
 cd ..; \
done