Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2016-11-04 11:58:59 -0400
committerSravan Kumar Lakkimsetti2016-11-04 12:05:17 -0400
commitd9c85e263485afef50a4c3e396f5bd69045d1696 (patch)
treedc75e3c67991aeb5c0e03099981a5c81980fe37f
parent62dcbf66f71c53d6b6da41f7a2ef0e28c49e51dd (diff)
downloadeclipse.platform.releng.aggregator-d9c85e263485afef50a4c3e396f5bd69045d1696.tar.gz
eclipse.platform.releng.aggregator-d9c85e263485afef50a4c3e396f5bd69045d1696.tar.xz
eclipse.platform.releng.aggregator-d9c85e263485afef50a4c3e396f5bd69045d1696.zip
Bug 507027 - Provide ability to mark a build as unstable
Change-Id: I501ff50c26d953d1a543a8b314b918a496e7e0ef Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php8
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_master.php8
-rw-r--r--production/sdk/promotion/removeFromComposite.xml22
3 files changed, 35 insertions, 3 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php
index 8cce13e7..e38d093e 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php
@@ -50,7 +50,11 @@ require("DL.thin.header.php.html");
echo "<div id=\"midcolumn\">".PHP_EOL;
-echo "<h1>Test Results for <a href=\"../".$BUILD_DIR_SEG."\">".$BUILD_ID."</a></h1>".PHP_EOL;
+echo "<h1>Test Results for <a href=\"../".$BUILD_DIR_SEG."\">".$BUILD_ID;
+if (file_exists("buildUnstable")) {
+ echo "&nbsp;<b style='color:red;'> Unstable!</b>\n";
+}
+echo "</a></h1>".PHP_EOL;
echo "<h3 id=\"Logs\"> Logs for <a href=\"../".$BUILD_DIR_SEG."\">".$BUILD_ID."</a></h3>".PHP_EOL;
echo "<ul>";
@@ -168,4 +172,4 @@ if (file_exists("compilerSummary.html")) {
#echo the computed content
echo $html;
-?> \ No newline at end of file
+?>
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_master.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_master.php
index 9fc7ca37..0ce4edf3 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_master.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_master.php
@@ -89,7 +89,13 @@ require("DL.thin.header.php.html");
<?php } ?>
<div id="midcolumn">
-<h1>Eclipse <?php echo $STREAM; ?> <?php echo $BUILD_TYPE_NAME; ?> Build: <?php echo $BUILD_ID; ?> </h1>
+<h1>Eclipse <?php echo $STREAM; ?> <?php echo $BUILD_TYPE_NAME; ?> Build: <?php echo $BUILD_ID; ?>
+<?php
+ if (file_exists("buildUnstable")) {
+ echo "&nbsp;<b style='color:red;'> Unstable!</b>\n";
+ }
+?>
+</h1>
<p style="padding-bottom: 1em">This page provides access to the various deliverables of Eclipse Platform build along with
is logs and tests.</p>
<?php
diff --git a/production/sdk/promotion/removeFromComposite.xml b/production/sdk/promotion/removeFromComposite.xml
new file mode 100644
index 00000000..0394c553
--- /dev/null
+++ b/production/sdk/promotion/removeFromComposite.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project
+ default="addToComposite"
+ basedir=".">
+ <target name="addToComposite">
+ <fail unless="repodir" message="repodir must be passed in to this script" />
+ <fail unless="complocation" message="complocation must be passed in to this script" />
+ <echo message="Adding child (complocation) to composite (repodir)" />
+ <echo message=" repodir: ${repodir}" />
+ <echo message=" complocation: ${complocation}" />
+ <p2.composite.repository>
+ <repository
+ location="file://${repodir}"
+ name="The Eclipse Project repository" />
+ <add>
+ <repository location="${complocation}" />
+ </add>
+ </p2.composite.repository>
+ </target>
+</project>
+

Back to the top