-
New Feature
-
Resolution: Unresolved
-
Minor
-
-
Blue Ocean - Candidates
I want to put choice value based on current job name. Where jenkins file will be common and their parameter value will change when the job change.
For example:
If env.job_name="abc"
then
parameters([
string(name: 'v1',defaultValue: 'df_abc', description: 'anything ?',trim: true)
])
else
parameters([
string(name: 'v1',defaultValue: 'df_other', description: 'anything ?',trim: true)
])