jenkinsci / jenkinsci/git-plugin

[JENKINS-34409] Document accessing environment variables in Git Publisher

Open
#2,845 0 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

Popup documentation for tag in Git Publisher states:

Environment variables may be used in the tag name - they will be replaced at build time.

It would be great if this text also included how to access the variables. It appears to be a simple $ prefix on Mac but is that platform specific? Just another sentence in the documentation here could really help.

---
Originally reported by klm, imported from: Document accessing environment variables in Git Publisher


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

Raw content of original issue

Popup documentation for tag in Git Publisher states:

Environment variables may be used in the tag name - they will be replaced at build time.

It would be great if this text also included how to access the variables. It appears to be a simple $ prefix on Mac but is that platform specific? Just another sentence in the documentation here could really help.

  • environment: Mac OS 10.11, Windows 10, Jenkins 1.651, Git Plugin 2.4.4.

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.