how can I pop an input box for a specific choice?

9 views
Skip to first unread message

red 888

unread,
Apr 17, 2018, 11:24:29 AM4/17/18
to Jenkins Users

In jenkins I'd like to do this:


parameters {
    choice(
            name: 'blah',
            choices: 'one\ntwo\ncustom',
            description: 'if you choose custom enter a custom number'
    )
}


So they have three options on the drop down, but it would be nice if when they select the "custom" choice jenkins pops an input box to type in raw user input.


Is this possible? I don't want to use user input during the pipeline run because that means they need to choose custom then wait for jenkins to get to the stage where it asks them for input.

Reply all
Reply to author
Forward
0 new messages