From 1c6c6f61a5a3e2c9abba2aeec04a4fde5cccc825 Mon Sep 17 00:00:00 2001 From: Jay Arthanareeswaran Date: Thu, 7 Nov 2019 13:50:52 +0530 Subject: Bug 551490 - [14] Start creating Y builds from BETA_JAVA14 Change-Id: I36e51bf52e415a09b9b39c8e8622a7089f84b6bb Signed-off-by: Jay Arthanareeswaran --- .../templateFiles/index.template_java14.php | 542 +++++++++++++++++++++ 1 file changed, 542 insertions(+) create mode 100644 eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_java14.php (limited to 'eclipse.platform.releng.tychoeclipsebuilder') diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_java14.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_java14.php new file mode 100644 index 000000000..4d051098a --- /dev/null +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.template_java14.php @@ -0,0 +1,542 @@ +$BUILD_ID"; +require("DL.thin.header.php.html"); + +?> + + + + + + + + + +
+

Eclipse Build: +Unstable!\n"; + } +?> +

+ +

This page provides access to the various deliverables of Eclipse Platform build along with +its logs and tests.

+POM updates made"; +} +// check if test build only, just to give warning of oversite. +// see bug 404545 +if (isset($testbuildonly) && ($testbuildonly)) { + echo "

Test-Build-Only flag found set. Input was not tagged.

\n"; +} + +// $NEWS_ID needs to be added to buildproperties.php, such as $NEWS_ID="4.5/M4"; +// Once ready to display it. +if (isset ($NEWS_ID)) { + echo "New and Noteworthy
\n"; +} +// Similar for $ACK_ID and $README_ID, but they are added only for 'R builds', +// And, are added by the promotion scripts, as long as we keep same conventions. +if (isset ($ACK_ID)) { + echo "Acknowledgments
\n"; +} +if (isset ($README_ID)) { + echo "Eclipse Project ${BUILD_ID} Readme
\n"; +} + +if (isset ($BUILD_FAILED) ) { + echo "

Build Failed

See logs.

\n"; + $PATTERN='!(.*)(/buildlogs/)(.*)!'; + $result = preg_match($PATTERN, $BUILD_FAILED, $MATCHES); + // cheap short cut, since we expect only 1 such file + $summaryFile=glob("buildFailed-*"); + if ($result !== FALSE) { + $SPECIFIC_LOG=$MATCHES[3]; + echo "

Specifically, see the log with errors, \n"; + echo "or a summary.
\n"; + echo "Or see traditional Compile Logs (if any).\n"; + echo "See recent changes in the git log.

\n"; + } + +} +else { +?> + +

Logs and Test Links

+ +"; + echo "\n"; + + if (file_exists("TEST_INVOCATION_FAILED.html")) { + $tf_file = file_get_contents("TEST_INVOCATION_FAILED.html"); + echo "

Test Invocation Failed for some Machines

$tf_file"; + } + + echo "

Summary of Unit Tests Results

"; + echo "\n"; + echo " \n"; + echo "\n"; + + foreach ($expectedTestConfigs as $config) { + //var_dump($testResults); + $displayConfig = computeDisplayConfig($config); + if (isset($testResults[$config])) { + $testRes = $testResults[$config]; + $failed = $testRes['failCount']; + $passed = $testRes['passCount']; + $total = $failed + $passed; + $duration = $testRes['duration']; + if (file_exists("overrideTestColor")) { + $linkColor='text-success'; + } + else { + if ($failed > 0) { + // note we don't override 'inherit' cases, just 'failed'. + if (file_exists("overrideTestColor")) { + $linkColor='text-success'; + } else { + $linkColor = 'text-danger'; + } + } else { + $linkColor='text-success'; + } + } + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + } + else { + // Yes, all configs intentionally links, since all go to the same place, but if no results yet, would not look like one. + $linkColor = 'text-muted'; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + } + } + echo "
\n"; + echo "

".$boxesDisplay." of ".count($expectedTestConfigs)." integration and unit test configurations are complete.

\n"; + if (file_exists("testNotes.html")) { + $my_file = file_get_contents("testNotes.html"); + echo $my_file; + } + echo "
Tested PlatformFailedPassedTotalTest Time (s)
\n"; + echo "".$displayConfig.""; + echo "$failed$passed$total$duration
\n"; + echo "".$displayConfig.""; + echo "    
\n"; + +?> + +

Related Links

+ +SHA512 Checksums for $BUILD_ID (GPG)

"; + } else if (file_exists($sums512file)) { + echo "

SHA512 Checksums for $BUILD_ID"; + } + +?> +Report of changes from previous build.

"; + } +?> + +
+ + + +
+

Eclipse p2 Repository  

+ + + + \n"; + echo "To update your Eclipse installation to this development stream, you can use the software repository at
\n"; + echo "  $STREAM_REPO_URL
\n"; + echo " \n"; + } + if ((file_exists("$relativePath3/updates/"."$BUILD_REPO_NAME")) || (file_exists("$relativePath4/updates/"."$BUILD_REPO_NAME")) ) { + echo " \n"; + echo "To update your build to use this specific build, you can use the software repository at
\n"; + echo "  $BUILD_REPO_URL
\n"; + echo " \n"; + } +?> + + + + +

Eclipse SDK   +

+ + + + + + +%sdk% + + + +

Tests and Testing Framework   +

+ + + + +%tests% + + +

Example Plug-ins   +

+ + + + +%example% + + +

RCP Runtime Binary   +

+ + + + +%rcpruntime% + + +

RCP SDK   +

+ + + + +%rcpsdk% + + + + +

Platform Runtime Binary   +

+ + + + +%runtime% + + +

JDT Runtime Binary   +

+ + + + +%jdt% + + +

JDT SDK    +

+ + + + +%jdtsdk% + + +

JDT Core Batch Compiler    +

+ + + + +%jdtc% + + +

PDE Runtime Binary   +

+ + + + +%pde% + + +

PDE SDK   +

+ + + + +%pdesdk% + + +

CVS Client Runtime Binary   +

+ + + + +%cvs% + + +

CVS Client SDK   +

+ + + + +%cvssdk% + + +

SWT Binary and Source   +

+ + + + +%swt% + + +

org.eclipse.releng.tools plug-in   +

+ + + + +%relengtools% + + + +
+ + + + + -- cgit v1.2.3