| Nikolas Falco This is very good POC but You may not have defined SCM when you add parameter or SCM definition can change after add parameter. Then you not have the actual information about SCM in parameter definition. I think good and simple solution is a: Add two option:
- MultipleSCM: FIRST, ALL, MATCH_REPOSITORY_URL (combo)
- MultipleSCM Url: ______ (text field - regexp)
'FIRST' is default value. If you choose 'FIRST' - plugin will take data from first defined SCM (git repository) 'ALL' plugin take data from all defined SCM 'MATCH_REPOSITORY_URL' plugin will take data from all SCM which url match from regular expression. The advantage of this solution is: you do not need know about defined SCM. and this and this is more flexible solution. Regards Boguslaw |