Skip to content

Instantly share code, notes, and snippets.

View srinathgattugari's full-sized avatar

srinathgattugari srinathgattugari

View GitHub Profile
@srinathgattugari
srinathgattugari / Jenkinsfile
Created July 27, 2019 22:59 — forked from jgraglia/Jenkinsfile
Extended Choice Plugin in Jenkins pipeline
// YOU HAVE TO :
// 1. install the Extended Choice Parameter Plugin : https://wiki.jenkins.io/display/JENKINS/Extended+Choice+Parameter+plugin
// 2. Allow the instanciation of ExtendedChoiceParameterDefinition in you script approval admin page https://myjenkins/scriptApproval/
List params = []
List props = []
// https://github.com/jenkinsci/extended-choice-parameter-plugin/blob/master/src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition.java#L427
// https://issues.jenkins-ci.org/browse/JENKINS-34617