Context:
input parameters to jenkins job are defined in a property file. property file location changes based on environment in which jenkins is running
ex: for dev environment path be like /app/dev/some/nested/path/propertyfile
for prod environment path be like /app/prod/some/nested/path/propertyfile
presently using extended choice parameter plugin to read property file. this works well if path to property file is absolute.
Problem:
is there a way to include global env variable in property file path? can it be done using active-choices plugin?
using active-choices plugin
using extended choice parameter plugin
can't use property file directly, will need to use groovy script
References:
extended-choice
active-choices