Don't forget the port when editing a gitlab repository URL
This commit is contained in:
parent
992cf767a6
commit
4b78821333
|
@ -254,7 +254,7 @@ class ProjectController extends PHPCI\Controller
|
|||
|
||||
if ($values['type'] == "gitlab") {
|
||||
$accessInfo = $project->getAccessInformation();
|
||||
$reference = $accessInfo["user"].'@'.$accessInfo["domain"].':' . $project->getReference().".git";
|
||||
$reference = $accessInfo["user"].'@'.$accessInfo["domain"].':' . $accessInfo["port"] . '/' . ltrim($project->getReference(), '/') . ".git";
|
||||
$values['reference'] = $reference;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue