extended-choice-parameter

How can I use the Extended Choice Parameter plugin in a Jenkins pipeline script?

瘦欲@ 提交于 2019-12-03 10:52:17
问题 The Extended Choice Parameter plugin is great and I use it in jobs configured via the UI https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin However, I'm struggling to get it working in a Jenkinsfile style pipeline script. It would appear that the Extended Choice Parameter plugin isn't yet fully compatible with Pipeline scripts since Jenkins pipeline-syntax generator creates the following snippet: parameters([<object of type com.cwctravel.hudson.plugins.extended

How can I use the Extended Choice Parameter plugin in a Jenkins pipeline script?

流过昼夜 提交于 2019-12-03 02:34:20
The Extended Choice Parameter plugin is great and I use it in jobs configured via the UI https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin However, I'm struggling to get it working in a Jenkinsfile style pipeline script. It would appear that the Extended Choice Parameter plugin isn't yet fully compatible with Pipeline scripts since Jenkins pipeline-syntax generator creates the following snippet: parameters([<object of type com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition>]) If I create the parameters manually I get the same