Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2017-01-04 15:55:07 +0000
committerSravan Kumar Lakkimsetti2017-01-04 16:10:11 +0000
commit013302b0230e175f8b0e57edf0f20aa462ac383f (patch)
treecf127e4c8a6dd4b9e8da3f6de027effe14dceb66 /eclipse.platform.releng.tychoeclipsebuilder
parent0e90daff235c183a939fe69546eaa1dd4bb3df36 (diff)
downloadeclipse.platform.releng.aggregator-013302b0230e175f8b0e57edf0f20aa462ac383f.tar.gz
eclipse.platform.releng.aggregator-013302b0230e175f8b0e57edf0f20aa462ac383f.tar.xz
eclipse.platform.releng.aggregator-013302b0230e175f8b0e57edf0f20aa462ac383f.zip
Bug 509921 - Complete the "Mark build as unstable" feature
Change-Id: I7fea393041d74f61e6a107bc95e14b2fea4bd73b Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'eclipse.platform.releng.tychoeclipsebuilder')
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/dropSectionUtils.php7
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php2
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_master.php8
3 files changed, 12 insertions, 5 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/dropSectionUtils.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/dropSectionUtils.php
index 0d7531dea..0ea8f301d 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/dropSectionUtils.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/dropSectionUtils.php
@@ -43,7 +43,12 @@ function genLinks($zipfile) {
global $BUILD_DIR_SEG;
$filetarget = "$clickthroughstr$zipfile";
- $filelink = "<a style=\"align:left\" href=\"$filetarget\">$zipfile</a>";
+ if (file_exists("./buildUnstable"))
+ {
+ $filelink = "<img style=\"border:0px\" src=\"../../../images/caution.gif\" title=\"Build is unstable\" alt=\"Build is unstable\"><a style=\"align:left\" href=\"$filetarget\">$zipfile</a>";
+ } else {
+ $filelink = "<a style=\"align:left\" href=\"$filetarget\">$zipfile</a>";
+ }
$filesize = getDropSize($zipfile);
echo "<td>$filelink</td>\n";
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php
index f67f23100..f277e251d 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/testResults.php
@@ -52,7 +52,7 @@ echo "<div id=\"midcolumn\">".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 "&nbsp<a href=\"https://wiki.eclipse.org/Platform-releng/Unstable_build\" title=\"Unstable Build\" style='color:red;'>Unstable!</a>\n";
}
echo "</a></h1>".PHP_EOL;
if (file_exists("buildUnstable")) {
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 bdbdf8f6e..448760f97 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
@@ -92,17 +92,19 @@ require("DL.thin.header.php.html");
<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";
+ echo "&nbsp<a href=\"https://wiki.eclipse.org/Platform-releng/Unstable_build\" title=\"Unstable Build\" style='color:red;'>Unstable!</a>\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
if (file_exists("buildUnstable")) {
$bu_file = file_get_contents("buildUnstable");
echo "$bu_file";
}
+?>
+<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
if (file_exists("pom_updates/index.html")) {
echo "<h2><a href=\"pom_updates/\">POM updates made</a></h2>";
}

Back to the top