Skip to content
Snippets Groups Projects

add no cache on build actions (interactive+api)

Merged Hahn Axel (hahn) requested to merge 5708-override-cache-of-branches into master
3 files
+ 11
10
Compare changes
  • Side-by-side
  • Inline

Files

+ 1
1
@@ -216,7 +216,7 @@
@@ -216,7 +216,7 @@
$aResult=$oProject->setBranchname($sBranch);
$aResult=$oProject->setBranchname($sBranch);
}
}
$sBranchname=$oProject->getBranchname();
$sBranchname=$oProject->getBranchname();
$aRepodata = $oProject->getRemoteBranches(true);
$aRepodata = $oProject->getRemoteBranches(true); // ignore cache = true
if(!isset($aRepodata[$sBranchname])){
if(!isset($aRepodata[$sBranchname])){
_quit('ERROR: branch not found: '.$sBranchname, 404);
_quit('ERROR: branch not found: '.$sBranchname, 404);
}
}
Loading