Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2014-12-09 18:42:29 +0000
committerDavid Williams2014-12-09 18:42:29 +0000
commitc18e734d58e6b174a6aad2ff9c985665ed678f80 (patch)
tree7243119f9e977065f06eaff8eccf8b304c2e6cc8
parent0e36da505856d259950eb065facb055fed29095e (diff)
downloadeclipse.platform.releng.aggregator-c18e734d58e6b174a6aad2ff9c985665ed678f80.tar.gz
eclipse.platform.releng.aggregator-c18e734d58e6b174a6aad2ff9c985665ed678f80.tar.xz
eclipse.platform.releng.aggregator-c18e734d58e6b174a6aad2ff9c985665ed678f80.zip
[releng] routine backport of script files to maintenance
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/publish.xml7
-rw-r--r--production/testScripts/genTestIndexes.xml52
2 files changed, 32 insertions, 27 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/publish.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/publish.xml
index 993e3c28b..a25eaaeac 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/publish.xml
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/publish.xml
@@ -46,6 +46,9 @@
and xml is in
.../testResults/xml/...
then hrefTestResultsTargetPath would be set to testResults
+ if, that is, the "testResults.php" page is a peer of the 'testResults'
+ directory. If testResults.php page is under testResults directory,
+ then the value would be ".".
hrefCompileLogsTargetPath: relative path from index page directory containing compilelogs
testManifestFileName: name of xml file containing descriptions of zip types and log files
@@ -122,7 +125,7 @@
</condition>
<condition
property="testResultsHtmlFileName"
- value="performance.php"
+ value="performance/performance.php"
else="testResults.php">
<contains
string="${job}"
@@ -149,7 +152,7 @@
</condition>
<condition
property="hrefTestResultsTargetPath"
- value="performance"
+ value="."
else="testresults">
<contains
string="${job}"
diff --git a/production/testScripts/genTestIndexes.xml b/production/testScripts/genTestIndexes.xml
index 3de588bf5..bdb1da5b9 100644
--- a/production/testScripts/genTestIndexes.xml
+++ b/production/testScripts/genTestIndexes.xml
@@ -14,7 +14,7 @@
<property
name="isBuildTested"
value="true" />
-
+
<script language="javascript">
<![CDATA[
var buildId = project.getProperty("buildId");
@@ -53,9 +53,9 @@
<condition
property="hrefTestResultsTargetPath"
value="baselineAlt">
- <contains
- string="${job}"
- substring="-baselineAlt" />
+ <contains
+ string="${job}"
+ substring="-baselineAlt" />
</condition>
<condition
property="hrefTestResultsTargetPath"
@@ -66,19 +66,19 @@
</condition>
<condition
property="hrefTestResultsTargetPath"
- value="performance"
+ value="."
else="testresults">
<contains
string="${job}"
substring="-perf-" />
</condition>
-
+
<condition
property="testResultsHtmlFileName"
value="baselineAlt.php">
- <contains
- string="${job}"
- substring="-baselineAlt" />
+ <contains
+ string="${job}"
+ substring="-baselineAlt" />
</condition>
<condition
property="testResultsHtmlFileName"
@@ -89,13 +89,13 @@
</condition>
<condition
property="testResultsHtmlFileName"
- value="performance.php"
+ value="performance/performance.php"
else="testResults.php">
<contains
string="${job}"
substring="-perf-" />
</condition>
-
+
<!-- Note: results template is selected based on
conventions used in hudson jobs names. Should
move to properties saved in during test run?
@@ -103,33 +103,33 @@
<condition
property="testTemplate"
value="perfBaselineAltResults.php.template">
- <contains
- string="${job}"
- substring="-baselineAlt" />
+ <contains
+ string="${job}"
+ substring="-baselineAlt" />
</condition>
<condition
property="testTemplate"
value="perfBaselineResults.php.template">
- <contains
- string="${job}"
- substring="-baseline" />
+ <contains
+ string="${job}"
+ substring="-baseline" />
</condition>
<condition
property="testTemplate"
value="performance.php.template"
else="testResults.php.template">
- <contains
- string="${job}"
- substring="-perf-" />
+ <contains
+ string="${job}"
+ substring="-perf-" />
</condition>
<condition
property="testManifestFileName"
value="${publishingContent}/performanceTestManifest.xml"
else="${publishingContent}/testManifest.xml">
- <contains
- string="${job}"
- substring="-perf-" />
+ <contains
+ string="${job}"
+ substring="-perf-" />
</condition>
<echo message="= = Properties in genTestIndexes.xml, init = = " />
@@ -240,9 +240,11 @@
depends="init">
- <fail unless="buildType" message="buildType should have been defined by now" />
+ <fail
+ unless="buildType"
+ message="buildType should have been defined by now" />
- <!--regenerate the index page with links to test results -->
+ <!--regenerate the index page with links to test results -->
<ant
antfile="${EBuilderDir}/eclipse/buildScripts/publish.xml"
dir="${publishingContent}"

Back to the top