Let say I have a jenkins build with one active choice and another active choice reactive parameter. In active choice parameter I run some groovy commands to populate some map variable, which have information of both active choice parameter and active choice reactive parameter. Now since I can not share the map variable across two active choice parameters, I have to run the same groovy commands again in active choice reactive parameter.
It is highly desirable that I should be able to share specific variable across two or more active choice parameters to avoid duplication of work across active choice parameters of a jenkins build.