jenkinsci / jenkinsci/git-plugin

[JENKINS-75316] Git build summary clickable links

Open
#3,874 2 comments 0 reactions 0 assignees Claimed by @Amit-kumar80844 View on GitHub
component:git-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

The Git BuildData html snippet can be improved by adding hyperlinks to different pieces of information:

1. The revision can be a hyperlink to a diff

2. The repository could be a hyperlink even if ssh (JENKINS-75285)

3. Each ref can be a hyperlink

Items would only be hyperlinks if a git browser was setup. The git browser the each GitSCM

used would need to be persisted in the BuildData object.

Each GitRepositoryBrowser would need to implement a getRefLink method

---
Originally reported by mrichar2, imported from: Git build summary clickable links


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 1
  • imported: 2025-12-02

Raw content of original issue

The Git BuildData html snippet can be improved by adding hyperlinks to different pieces of information:
1. The revision can be a hyperlink to a diff
2. The repository could be a hyperlink even if ssh (JENKINS-75285)
3. Each ref can be a hyperlink

Items would only be hyperlinks if a git browser was setup. The git browser the each GitSCM
used would need to be persisted in the BuildData object.

Each GitRepositoryBrowser would need to implement a getRefLink method

1 attachment

- [image-2025-02-20-11-54-43-663.png](https://issues.jenkins.io/secure/attachment/63996/image-2025-02-20-11-54-43-663.png)
> ![image-2025-02-20-11-54-43-663.png](https://issues.jenkins.io/secure/attachment/63996/image-2025-02-20-11-54-43-663.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.