Changes tab: commit hyperlink that point to the Gitlab server

Answered

This image is taken from the "Changes" tab of a build.

The tooltip that appears on the git commit SHA1 shows the git HTTP URL of the develop branch and the full commit SHA1.

Is there a way I could click on this tooltip or directly on the shortened commit SHA1 to open the following URL ?

http://srv-git/products/ECSIMAGING/commit/bfbf7b531773243ab213a44294ba0b89b8b4054b

That would display the commit details of the Gitlab portal. It's not very important but it would be nice.

5 comments

Hello,

Currently it's not supported by default. Please feel free to create a feature request in our tracker.

The https://confluence.jetbrains.com/display/TCD9/External+Changes+Viewer feature can be used to set it up.

0

Thanks for the quick answer, I'll submit the feature request

0

The Teamcity "External Changes Viewer" feature does the job fine: https://confluence.jetbrains.com/display/TCD9/External+Changes+Viewer

For Gitlab I have this /opt/jetbrains/TeamCity/.BuildServer/config/change-viewers.properties:

VCSRootID.changeSetUrl=http://srv-git/products/MYREPO/commit/${changeSetDisplayRevision}
VCSRootID.fileDiffUrl=http://srv-git/products/MYREPO/commit/${fileRevisionAfter}
VCSRootID.newFileUrl=http://srv-git/products/MYREPO/blob/${fileRevisionAfter}/${relativePath}

0

Thank you for sharing your solution!

0

Please sign in to leave a comment.