Skip to content
Snippets Groups Projects
Commit 33960db0 authored by hahn's avatar hahn
Browse files

update in progress detection

parent 3bff6d63
No related branches found
No related tags found
1 merge request!195534 add docker
......@@ -868,7 +868,9 @@ class project extends base {
}
/**
* get deploy and queue infos for all phases
* @return type
* It build up a subkey "progress" with info if a build is queued
* or an installation of a new package is going on
* @return array
*/
public function getAllPhaseInfos() {
......@@ -891,8 +893,9 @@ class project extends base {
$aDataPhase = $this->_aData["phases"][$sPhase];
foreach (array_keys($this->getPlaces()) as $sPlace) {
if (
array_key_exists($sPlace, $aDataPhase)
&& array_key_exists('version', $aDataPhase[$sPlace])
$sPlace!=='onhold'
&& array_key_exists($sPlace, $aDataPhase)
// && array_key_exists('version', $aDataPhase[$sPlace])
) {
if($bFirstVersion && !$bHasDifferentVersions && $bFirstVersion!==$aDataPhase[$sPlace]['version']){
$bHasDifferentVersions=true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment