Loading
<p> <img style="float: left; padding-right: 1em;" src="https://wiki.eclipse.org/images/d/dc/Oomph_Project_Logo.png"/> This is a reusable build job for producing p2 repository quality reports. <br style="line-height: 2em;"/> It generates reports to a nested <tt>archive</tt> folder of the target repository. <br style="line-height: 2em;"/> </p>
Loading...
20
Testing...
${
}
#${BUILD_NUMBER}
RELATIVE_LOCATION
The location relative to <a href="https://download.eclipse.org/oomph">https://download.eclipse.org/oomph</a> of the URL to the p2 repository for which to generate a report.
PROMOTE
Whether the results of the build should be promoted and made public under <a href="https://download.eclipse.org/oomph/">https://download.eclipse.org/oomph/${RELATIVE_LOCATION}/archive</a>.
TEST
Whether to product junit test results.
1
5
2
*/master
JENKINS_URL
TOKEN_NAME
Jenkins please retry a build
.*\[skip\W+ci\].*
H/5 * * * *
# Project-specific locations. # Remember use to "archive" in the name of the output so that the reports are not mirrored. # LOGIN="genie.oomph@projects-storage.eclipse.org" OUT_DIR="/home/data/httpd/download.eclipse.org/oomph/${RELATIVE_LOCATION}" OUTPUT="archive" # The base dir from which to get the product for running the analyzer. # OOMPH_DIR="/home/data/httpd/download.eclipse.org/oomph/" # Unpack the product. # scp ${LOGIN}:${OOMPH_DIR}/products/latest/eclipse-inst-jre-linux64.tar.gz . tar -xf eclipse-inst-jre-linux64.tar.gz set -o pipefail if [[ $TEST == "true" ]]; then TEST_PARAM="-t tests" else TEST_PARAM="" fi eclipse-installer/eclipse-inst \ -application org.eclipse.oomph.p2.core.RepositoryIntegrityAnalyzer \ -consoleLog \ -noSplash \ -o $OUTPUT \ -s "${JOB_URL}" \ -v \ ${TEST_PARAM} \ -p "${WORKSPACE}/reports/" \ "https://download.eclipse.org/oomph/${RELATIVE_LOCATION}" \ -vmargs \ -Dfile.encoding=UTF-8 \ -Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true \ -Xmx8g \ 2>&1 | tee log if [[ $PROMOTE == "true" ]]; then echo "Promoting" ssh ${LOGIN} "rm -rf ${OUT_DIR}/${OUTPUT}; mkdir -p ${OUT_DIR}/${OUTPUT}" scp -r ${WORKSPACE}/reports/* ${LOGIN}:${OUT_DIR}/${OUTPUT}/ fi
tests/TEST-*.xml
0.0
ed.merks@gmail.com