jenkinsci / jenkinsci/git-plugin

[JENKINS-29840] when workflow uses multiple git repos the "git build data" and "tags" become next to useless.

Open
#2,701 20 comments 0 reactions 0 assignees View on GitHub
component:git-plugin component:workflow-scm-step-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

if you have a workflow which uses multiple git repositories the actions and data contributed to the build by the git plugin produce almost unusable visual spam.

The tag action does not let you know which repository you are tagging, nor does the build data tell you which repository it is that has the specified hash.

Coupled with this you end up with 2 * the number of repos used (plus another 2 if you use workflow from SCM) actions - which simply does not scale. The actions should be refactored so there is one action that can display the data from multiple repositories / invocations and it should be clear which revision comes from which repo.

```
node {
git url: 'git@​github.com:jenkinsci/git-client-plugin.git'
git url: 'git@​github.com:jenkinsci/git-plugin.git'
git url: 'git@​github.com:jenkinsci/github-plugin.git'
// just add more random repos to get the picture...
}

```

---
Originally reported by teilo, imported from: when workflow uses multiple git repos the "git build data" and "tags" become next to useless.


  • status: Open
  • priority: Minor
  • component(s): git-plugin, workflow-scm-step-plugin
  • label(s): community-bee, triaged-2018-11
  • resolution: Unresolved
  • votes: 26
  • watchers: 32
  • imported: 2025-12-02

Raw content of original issue

if you have a workflow which uses multiple git repositories the actions and data contributed to the build by the git plugin produce almost unusable visual spam.

The tag action does not let you know which repository you are tagging, nor does the build data tell you which repository it is that has the specified hash.

Coupled with this you end up with 2 * the number of repos used (plus another 2 if you use workflow from SCM) actions - which simply does not scale. The actions should be refactored so there is one action that can display the data from multiple repositories / invocations and it should be clear which revision comes from which repo.


node {

git url: 'git@github.com:jenkinsci/git-client-plugin.git'
git url: 'git@github.com:jenkinsci/git-plugin.git'
git url: 'git@github.com:jenkinsci/github-plugin.git'
// just add more random repos to get the picture...
}

environment

```
Jenkins 1.609.1

Workflow 1.9-beta-1

git 2.4.0

git-client 1.18.0

```

1 attachment

- [2015-08-06_17h15_16.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/30436/2015-08-06_17h15_16.png)
> ![2015-08-06_17h15_16.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/30436/2015-08-06_17h15_16.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.