-
Bug
-
Resolution: Unresolved
-
Major
-
None
git, sh groovy scripts generated by pipeline script generator are not working in active choice parameter. The same work in pipeline script.
For example following groovy script:
git branch: 'branch', credentialsId: 'gitCred', url: 'https://some.ur.com/somthing.git'
gives exception groovy.lang.MissingMethodException: No signature of method: Script1.git()
sh "ls" would give exception groovy.lang.MissingMethodException: No signature of method: Script1.sh()
Same exception is thrown while using pwd(), node() in active choice parameter groovy script.
Note that in pipeline script everything works as expected.
I have the same Problem. Is there anything new?