jenkinsci / jenkinsci/git-parameter-plugin

[JENKINS-57137] Add possibility to use environment variables in parameter definition

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
component:git-parameter-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
131
Forks
134
Avg merge
21h 5m
Merged PRs (30d)
1

Description

It would be nice to have a possibility to use environment variables in the parameter definition,

In my case I have a big number of jobs specifying the same git parameter (branch), but for all these jobs I want to specify the same default value.

I have tried to do the following:

${MYPARAM}

and

$MYPARAM

but no luck.

---
Originally reported by paul_luchyn, imported from: Add possibility to use environment variables in parameter definition


  • status: Open
  • priority: Major
  • component(s): git-parameter-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-182730

Raw content of original issue

It would be nice to have a possibility to use environment variables in the parameter definition,
In my case I have a big number of jobs specifying the same git parameter (branch), but for all these jobs I want to specify the same default value.
I have tried to do the following:



${MYPARAM}


and



$MYPARAM


but no luck.

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.