Created
February 3, 2022 13:54
-
-
Save jeffscottbrown/cd5a0c63ffa7694dbecf72807c5697db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am not setup to validate this in Jenkins but instead of this: | |
def parameter_list = [ | |
choice(name: 'BAUDRATE', | |
choices: ['9600', '115200'], | |
description: 'Baud rate of the device.'), | |
] | |
return parameters(parameter_list) | |
Does this work? | |
def parameter_map = [ | |
name: 'BAUDRATE', | |
choices: ['9600', '115200'], | |
description: 'Baud rate of the device.' | |
] | |
return parameters{ choice(parameter_map) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment