Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'production/testScripts/invokeTestsJSON.xml')
-rw-r--r--production/testScripts/invokeTestsJSON.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/production/testScripts/invokeTestsJSON.xml b/production/testScripts/invokeTestsJSON.xml
index 4e54d57a..6d614159 100644
--- a/production/testScripts/invokeTestsJSON.xml
+++ b/production/testScripts/invokeTestsJSON.xml
@@ -136,12 +136,14 @@
<script language="javascript">
+ <![CDATA[
var buildId = project.getProperty("buildId");
var pattern = new RegExp(/^([IMXYPNSR])(\d{8})-(\d{4})$/);
var sArray = pattern.exec(buildId);
// sArray 0 is "whole match"
project.setProperty("buildType", sArray[1]);
+ ]]>
</script>
<property
@@ -163,6 +165,7 @@
message="eclipseStream variable had unexpected format. Should be digit.digit.digit, but was ${eclipseStream}"
unless="streamOK" />
<script language="javascript">
+ <![CDATA[
var eclipseStream = project.getProperty("eclipseStream");
var pattern = new
RegExp(/(\d+)\.(\d+)\.(\d+)/);
@@ -172,7 +175,7 @@
project.setProperty("eclipseStreamMajor", sArray[1]);
project.setProperty("eclipseStreamMinor", sArray[2]);
project.setProperty("eclipseStreamService", sArray[3]);
-
+ ]]>
</script>
</target>

Back to the top