svn: /web/doc-editor/trunk/scripts/cron/ check_build.php
| From: | Yannick Torres | Date: | Sun, 26 Dec 2010 22:48:47 +0000 |
| Subject: | svn: /web/doc-editor/trunk/scripts/cron/ check_build.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1906@lists.php.net to get a copy of this message | ||
yannick Sun, 26 Dec 2010 22:48:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306711
Log:
Add STDERR to the mail's content
Changed paths:
U web/doc-editor/trunk/scripts/cron/check_build.php
Modified: web/doc-editor/trunk/scripts/cron/check_build.php
===================================================================
--- web/doc-editor/trunk/scripts/cron/check_build.php 2010-12-26 21:50:14 UTC (rev 306710)
+++ web/doc-editor/trunk/scripts/cron/check_build.php 2010-12-26 22:48:47 UTC (rev 306711)
@@ -53,9 +53,6 @@
// What we must do when the build failed
if( $return["state"] == "ko" ) {
- // We put into mail only 20 lines
- $return["logContent"] = array_slice($return["logContent"], 0,
20);
-
$msg = "Your documentation is broken. The build is done on Friday.
Please, try to fix it *quickly*.
@@ -64,7 +61,7 @@
=============================
- ".implode("\n", $return["logContent"])."
+ ".$return["logContent"]."
--
This email is send automatically by the Php Docbook Online Editor.
@@ -79,7 +76,7 @@
echo "email send !\n";
// We store it into DB
- LogManager::getInstance()->saveFailedBuild($lang,
$return["logContent"]);
+ LogManager::getInstance()->saveFailedBuild($lang,
explode("\n",$return["logContent"]));
}
}