diff options
author | Sravan Kumar Lakkimsetti | 2016-12-08 12:06:33 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2016-12-08 12:14:45 +0000 |
commit | 06fdf614a2cbde3e5c30d67ec8373a2ef97fb730 (patch) | |
tree | a963f9a7fbb85ee832e47497a7db494312f5d094 /production/createReports.sh | |
parent | 18e0a0bdcdccd5e1ba3bfbbdc34c46650fa9848c (diff) | |
download | eclipse.platform.releng.aggregator-06fdf614a2cbde3e5c30d67ec8373a2ef97fb730.tar.gz eclipse.platform.releng.aggregator-06fdf614a2cbde3e5c30d67ec8373a2ef97fb730.tar.xz eclipse.platform.releng.aggregator-06fdf614a2cbde3e5c30d67ec8373a2ef97fb730.zip |
Bug 508780 - Repository Reports missing in recent builds
Change-Id: Iac689314ad1598230d4a06cdcbb7db6d02e22b08
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'production/createReports.sh')
-rwxr-xr-x | production/createReports.sh | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/production/createReports.sh b/production/createReports.sh index a90c26282..42252a606 100755 --- a/production/createReports.sh +++ b/production/createReports.sh @@ -134,8 +134,9 @@ then # This analyzersBuildId can (currently) be found by "drilling down" at # http://download.eclipse.org/cbi/updates/analyzers/4.6/ - analyzersBuildId=I20161201-1633 - tar_name=org.eclipse.cbi.p2repo.analyzers.product_${analyzersBuildId}_linux.gtk.x86_64.tar.gz + # analyzersBuildId=I20161201-1633 + # We use analyzer from hipp this way we have one less version to track + tar_name=org.eclipse.cbi.p2repo.analyzers.product-linux.gtk.x86_64.tar.gz report_app_area="${app_area}/reportApplication" @@ -153,12 +154,9 @@ then fi # turned off proxy for now. Ideally would set proper environment variables! - if [[ ! -f ${TMP_DIR}/${tar_name} ]] - then - wget --no-proxy --no-verbose --no-cache -O "${TMP_DIR}/${tar_name}" http://download.eclipse.org/cbi/updates/analyzers/4.6/${analyzersBuildId}/${tar_name} 2>&1 - else - echo -e "repo analyzer tar.gz not re-fetched, since already exists at \n\t${TMP_DIR}/${tar_name}" - fi + # Let's fetch always. otherwise we'll miss any upgrades + wget --no-proxy --no-verbose --no-cache -O "${TMP_DIR}/${tar_name}" https://hudson.eclipse.org/cbi/job/cbi.p2repo.analyzers_cleanAndDeploy/lastSuccessfulBuild/artifact/output/products/${tar_name} 2>&1 + # always extract anew each time. if [[ -e ${report_app_area} ]] then @@ -171,13 +169,13 @@ then tar -xf "${TMP_DIR}/${tar_name}" -C ${report_app_area} # first do the "old" (normal) case - ${report_app_area}/p2analyze -data ${output_dir}/workspace-report -vm ${JAVA_8_HOME}/bin -vmargs -Xmx1g \ + ${report_app_area}/p2analyze/p2analyze -data ${output_dir}/workspace-report -vm ${JAVA_8_HOME}/bin -vmargs -Xmx1g \ -DreportRepoDir=${buildToTest} \ -DreportOutputDir=${output_dir} \ -DreferenceRepo=${buildToCompare} # now run with "new api" which produced the color coded (experimental) reports - ${report_app_area}/p2analyze -data ${output_dir}/workspace-report -vm ${JAVA_8_HOME}/bin -vmargs -Xmx2g \ + ${report_app_area}/p2analyze/p2analyze -data ${output_dir}/workspace-report -vm ${JAVA_8_HOME}/bin -vmargs -Xmx2g \ -DuseNewApi=true \ -DreportRepoDir=${buildToTest} \ -DreportOutputDir=${output_dir} \ |