-
Type:
New Feature
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: config-file-provider-plugin
-
None
Sometimes we need to use different configs for parametrized downstream job.
Simple eample:
We have parametrized job "UNIT_TESTS_RUN" which requires configuration file wtih test sites urls, db connection strings etc.
And when this job triggered by upstream "DEFAULT_BRANCH" job, whe should provide config file "MAIN_BRANCH_UNIT_TESTS_CONFIG.xml"
But when "UNIT_TESTS_RUN" triggered by "RELEASE_1_0_BRANCH" job, whe should provide config file "R1_0_UNIT_TESTS_CONFIG.xml"
Is it possible to implement such feature as mapping config file names by environment variables using @includes of Ant fileset pattern?