Skip to content

Commit 4e78329

Browse files
authored
MCLOUD-9180: Fix Jenkins tests (#96)
1 parent 50c77b0 commit 4e78329

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/functional/Codeception/TestInfrastructure.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,13 @@ public function addEceToolsGitRepoToComposer(): bool
420420
*/
421421
private function addGitRepoToComposer(string $name): bool
422422
{
423+
$repoUrl = $this->_getConfig($name . '_repo');
424+
425+
// Do not add repo if url is empty
426+
if (empty($repoUrl)) {
427+
return true;
428+
}
429+
423430
return $this->taskComposerConfig()
424431
->set('repositories.' . $name, json_encode(
425432
[

0 commit comments

Comments
 (0)