Ejemplo n.º 1
0
    $noPrev = "none";
}
/////////////////////////////////////////////////////////////////////////////
if ($_GET[week] == "") {
    $noNext = "none";
} else {
    $noNext = "";
}
if ($from == 6 && $to == -1) {
    $noNext = "none";
}
if (is_array($releaseTables[releases])) {
    krsort($releaseTables[releases], SORT_NUMERIC);
}
//////////////////////////////// Regression /////////////////////////////////
$arrDataReg = getBranchDataReg("grenregResults");
$releaseTablesReg = array();
$relCountID = 50;
if (is_array($arrDataReg) && count($arrDataReg) > 0) {
    foreach ($arrDataReg as $name => $rel) {
        $releaseTablesReg[releases][$name][buildTables] = array();
        $buildCountID = 0;
        $regCount = 0;
        krsort($rel[builds], SORT_NUMERIC);
        foreach ($rel[builds] as $buildID => $build) {
            $releaseTablesReg[releases][$name][buildTables][$buildID] = createGrenRegBuildTable($build, $buildID, $arr[1]);
            $buildCountID++;
            $regCount++;
        }
        $releaseTablesReg[releases][$name][releaseTable] = createReleaseTable($rel, $name, $relCountID, count($rel[builds]), $regCount);
        $buildCountID = 0;
Ejemplo n.º 2
0
    $noPrev = "none";
}
/////////////////////////////////////////////////////////////////////////////
if ($_GET[week] == "") {
    $noNext = "none";
} else {
    $noNext = "";
}
if ($from == 6 && $to == -1) {
    $noNext = "none";
}
if (is_array($releaseTables[releases])) {
    krsort($releaseTables[releases], SORT_NUMERIC);
}
//////////////////////////////// Regression /////////////////////////////////
$arrDataReg = getBranchDataReg("rapregResults");
$releaseTablesReg = array();
$relCountID = 50;
if (is_array($arrDataReg) && count($arrDataReg) > 0) {
    foreach ($arrDataReg as $name => $rel) {
        $releaseTablesReg[releases][$name][buildTables] = array();
        $buildCountID = 0;
        $regCount = 0;
        krsort($rel[builds], SORT_NUMERIC);
        foreach ($rel[builds] as $buildID => $build) {
            $releaseTablesReg[releases][$name][buildTables][$buildID] = createRapRegBuildTable($build, $buildID, $arr[1]);
            $buildCountID++;
            $regCount++;
        }
        $releaseTablesReg[releases][$name][releaseTable] = createReleaseTable($rel, $name, $relCountID, count($rel[builds]), $regCount, 1);
        $buildCountID = 0;