In order for GitLab to display correct repository clone links to your users, it needs to know the URL under which it is reached by your users (e.g. http://gitlab.example.com
)
To reconfigure:
-
Access the GitLab configuration file in
/etc/gitlab/gitlab.rb
.sudo vi /etc/gitlab/gitlab.rb
-
Change the
external_url
value to your GitLab server URL.external_url "http://gitlab.example.com" #this is the default URL external_url "http://X.X.X.X.local/" #change it to your GitLab Server URL
-
Run the reconfigure command to make the change take effect.
sudo gitlab-ctl reconfigure
Read this GitLab documentation to know more about configuring the external URL for GitLab.
You should be able to add the GitLab repositories via Git Integration for Jira app ➜ Manage Git repositories:
-
Full feature integration panel (recommended for multiple repository integration)
-
Connect to Git Repository (single repository or SSH repository integration)
-
Limited feature connect (Git – single repository or SSH repository integration)