jenkinsci / jenkinsci/git-plugin

[JENKINS-45859] Environment Var GIT_COMMIT_n

Open
#3,163 3 comments 0 reactions 0 assignees 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

This addon currently allows for:

`GIT_URL` as well as `GIT_URL_n` if there is more than one repo used in a build

It also provides the var `GIT_COMMIT`  however, if you have more than one repo it does not provide access to `GIT_COMMIT_n`

---
Originally reported by caffeineaddiction, imported from: Environment Var GIT_COMMIT_n


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

Raw content of original issue

This addon currently allows for:

`GIT_URL` as well as `GIT_URL_n` if there is more than one repo used in a build

It also provides the var `GIT_COMMIT`  however, if you have more than one repo it does not provide access to `GIT_COMMIT_n`

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.