Let we have a job that points to GitLab repository. Any Jenkins changes view with a list of commits provides a wrong link to GitLab commit (changeset).
I'm unable to duplicate the problem you're describing when I use one of my private repositories hosted on gitlab.com.
h2. Steps I took
# Define Freestyle job that uses a gitlab browser. Define the URL for the gitlab repository browser as https://gitlab.com/MarkEWaite/bin (note that it is "gitlab" in the git plugin, not the "GitLab" browser. The "GitLab" browser appears to be added by the GitLab Branch Source plugin and has a serious bug) !01-gitlab-browser-definition.png|thumbnail! # Build the job # Push a change to the gitlab repository # Build the job again # Click the "Recent Changes" link !02-gitlab-recent-changes-link.png|thumbnail! # Confirm that the recent changes link opens gitlab.com !03-gitlab-destination-page.png|thumbnail! # Open the page for the specific build (build 3 in my case) !04-gitlab-build-3-build-page.png|thumbnail! # Open the changes page for the specific build (build 3 changes in my case) !05-gitlab-build-3-changes-page.png|thumbnail! # Confirm that the README link on the changes page opens gitlab.com correctly !05-1-gitlab-build-3-changes-page-README-destination.png|thumbnail! # Confirm that the diff link on the changes page opens gitlab.com correctly !05-2-gitlab-build-3-changes-page-diff-destination.png|thumbnail!
Can you provide more details so that I understand the difference between the working environment that I see and your environment that is failing?
I'm unable to duplicate the problem you're describing when I use one of my private repositories hosted on gitlab.com.
Steps I took
Define Freestyle job that uses a gitlab browser. Define the URL for the gitlab repository browser as https://gitlab.com/MarkEWaite/bin (note that it is "gitlab" in the git plugin, not the "GitLab" browser. The "GitLab" browser appears to be added by the GitLab Branch Source plugin and has a serious bug)
Build the job
Push a change to the gitlab repository
Build the job again
Click the "Recent Changes" link
Confirm that the recent changes link opens gitlab.com
Open the page for the specific build (build 3 in my case)
Open the changes page for the specific build (build 3 changes in my case)
Confirm that the README link on the changes page opens gitlab.com correctly
Confirm that the diff link on the changes page opens gitlab.com correctly
Can you provide more details so that I understand the difference between the working environment that I see and your environment that is failing?
I'm unable to duplicate the problem you're describing when I use one of my private repositories hosted on gitlab.com.
h2. Steps I took
# Define Freestyle job that uses a gitlab browser. Define the URL for the gitlab repository browser as https://gitlab.com/MarkEWaite/bin (note that it is "gitlab" in the git plugin, not the "GitLab" browser. The "GitLab" browser appears to be added by the GitLab Branch Source plugin and has a serious bug) !01-gitlab-browser-definition.png|thumbnail! # Build the job # Push a change to the gitlab repository # Build the job again
# Click the "Recent Changes" link !02-gitlab-recent-changes-link.png|thumbnail! # Confirm that the recent changes link opens gitlab.com !03-gitlab-destination-page.png|thumbnail! # Open the page for the specific build (build 3 in my case) !04-gitlab-build-3-build-page.png|thumbnail! # Open the changes page for the specific build (build 3 changes in my case) !05-gitlab-build-3-changes-page.png|thumbnail! # Confirm that the README link on the changes page opens gitlab.com correctly !05-1-gitlab-build-3-changes-page-README-destination.png|thumbnail! # Confirm that the diff link on the changes page opens gitlab.com correctly !05-2-gitlab-build-3-changes-page-diff-destination.png|thumbnail!
Can you provide more details so that I understand the difference between the working environment that I see and your environment that is failing?
I'm unable to duplicate the problem you're describing when I use one of my private repositories hosted on gitlab.com.
h2. Steps I took
# Define Freestyle job that uses a gitlab browser. Define the URL for the gitlab repository browser as https://gitlab.com/MarkEWaite/bin (note that it is "gitlab" in the git plugin, not the "GitLab" browser. The "GitLab" browser appears to be added by the GitLab Branch Source plugin and has a serious bug) !01-gitlab-browser-definition.png|thumbnail! # Build the job # Push a change to the gitlab repository # Build the job again # Click the "Recent Changes" link !02-gitlab-recent-changes-link.png|thumbnail! # Confirm that the recent changes link opens gitlab.com !03-gitlab-destination-page.png|thumbnail! # Open the page for the specific build (build 3 in my case) !04-gitlab-build-3-build-page.png|thumbnail! # Open the changes page for the specific build (build 3 changes in my case) !05-gitlab-build-3-changes-page.png|thumbnail! # Confirm that the README link on the changes page opens gitlab.com correctly
Thanks for detailed explanations! I figured out that a repository configuration in step (1) must contain the path to a repository after the Gitlab domain. I thought before it can be decided by Jenkins from the repository and domain URL.