Loading
<p> <img style="float: left; padding-right: 1em;" src="https://wiki.eclipse.org/images/d/dc/Oomph_Project_Logo.png"/> This job builds an <a href="https://download.eclipse.org/oomph/archive/eclipse/index.html">Eclipse Mirror Index</a> showing the disk footprint of download.eclipse.org's on its mirrors. <br style="line-height: 2em;"/> It uses <a href="https://download.eclipse.org/oomph/archive/org.eclipse.oomph.mirror.index.zip">org.eclipse.oomph.mirror.index.zip</a> which is an exported workspace project you can download and test locally. <br style="line-height: 2em;"/> </p>
Loading...
2
Testing...
${
}
#${BUILD_NUMBER}
PROMOTE
Whether the results of the build should be promoted and made public as the latest <a href="https://download.eclipse.org/oomph/archive/eclipse/index.html">Eclipse Mirror Index</a>.
1
5
*/master
JENKINS_URL
TOKEN_NAME
H 22 * * *
Jenkins please retry a build
.*\[skip\W+ci\].*
H/5 * * * *
180
LOGIN="genie.oomph@projects-storage.eclipse.org" ARCHIVE="/home/data/httpd/download.eclipse.org/oomph/archive" scp ${LOGIN}:${ARCHIVE}/org.eclipse.oomph.mirror.index.zip . unzip -q org.eclipse.oomph.mirror.index.zip java -Dorg.eclipse.oomph.mirror.index.MirrorIndex.trace=true -cp org.eclipse.oomph.mirror.index/bin org.eclipse.oomph.mirror.index.MirrorIndex mirror.summary cp org.eclipse.oomph.mirror.index/Nav.png org.eclipse.oomph.mirror.index/mirror.template.php . java -cp org.eclipse.oomph.mirror.index/bin org.eclipse.oomph.mirror.index.MirrorIndexGenerator mirror.summary mirror.template.php if [[ $PROMOTE == "true" ]]; then echo "Promoting" ssh ${LOGIN} << EOF rm -rf ${ARCHIVE}/eclipse.old if [[ -e ${ARCHIVE}/eclipse.new ]]; then echo "Deleting ${ARCHIVE}/eclipse.new" rm -rf ${ARCHIVE}/eclipse.new fi EOF scp -r eclipse ${LOGIN}:${ARCHIVE}/eclipse.new ssh ${LOGIN} << EOG if [[ -e ${ARCHIVE}/eclipse ]]; then echo "Renaming ${ARCHIVE}/eclipse" mv ${ARCHIVE}/eclipse ${ARCHIVE}/eclipse.old fi mv ${ARCHIVE}/eclipse.new ${ARCHIVE}/eclipse rm -f ${ARCHIVE}/mirror.php EOG scp mirror.php ${LOGIN}:${ARCHIVE}/mirror.php ssh ${LOGIN} "rm -rf ${ARCHIVE}/eclipse.old" fi