Loading
<p> <img style="float: left; padding-right: 1em;" src="https://wiki.eclipse.org/images/d/dc/Oomph_Project_Logo.png"/> This is the build job for producing the p2 repository index. <br style="line-height: 2em;"/> It generates results to <a href="https://download.eclipse.org/oomph/index/">https://download.eclipse.org/oomph/index/</a>. <br style="line-height: 2em;"/> It writes a report to <a href="https://download.eclipse.org/oomph/archive/p2-index/">https://download.eclipse.org/oomph/archive/p2-index/</a>. </p>
Loading...
5
Testing...
${
}
#${BUILD_NUMBER}
PROMOTE
Whether the results of the build should be promoted and made public under <a href="https://download.eclipse.org/oomph/index/">oomph/index</a>.
1
promotion-vm
2
*/master
JENKINS_URL
TOKEN_NAME
H 20 * * *
Jenkins please retry a build
.*\[skip\W+ci\].*
H/5 * * * *
tar -xf /home/data/httpd/download.eclipse.org/oomph/products/latest/eclipse-inst-jre-linux64.tar.gz HOME=$PWD DOWNLOAD=/home/data/httpd/download.eclipse.org OOMPH=$DOWNLOAD/oomph INDEX_LOCAL=$HOME/index INDEX=$OOMPH/index REPORT_LOCAL=$HOME/report REPORT=$OOMPH/archive/p2-index eclipse-installer/eclipse-inst \ -application org.eclipse.oomph.p2.core.P2Indexer \ -consoleLog \ -noSplash \ $DOWNLOAD \ 24 \ https://download.eclipse.org \ $INDEX_LOCAL \ -verboseXXX \ -report $REPORT_LOCAL \ -vmargs \ -Dfile.encoding=UTF-8 \ -Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true \ -Xmx6g \ -Dsun.zip.disableMemoryMapping=true \ 2>&1 | tee log if [ -s $INDEX_LOCAL/repositories -a -s $INDEX_LOCAL/capabilities ]; then pushd $INDEX_LOCAL zip -9 repositories.zip repositories rm repositories mv repositories.zip repositories zip -9 capabilities.zip capabilities rm capabilities mv capabilities.zip capabilities popd > /dev/null if [[ $PROMOTE == "true" ]]; then echo "Promoting" if [ -d $INDEX ]; then rm -rf $INDEX.tmp cp -a $INDEX_LOCAL $INDEX.tmp rm -rf $INDEX.old mv $INDEX $INDEX.old mv $INDEX.tmp $INDEX rm -rf $INDEX.old else cp -a $INDEX_LOCAL $INDEX fi if [ -d $REPORT ]; then rm -rf $REPORT.tmp cp -a $REPORT_LOCAL $REPORT.tmp rm -rf $REPORT.old mv $REPORT $REPORT.old mv $REPORT.tmp $REPORT rm -rf $REPORT.old else cp -a $REPORT_LOCAL $REPORT fi fi fi
ed.merks@gmail.com