Gist for https://youtu.be/tPZZDngeiGU
pipeline {
agent any
parameters {
choice(name: 'CHOICE', choices: ['One', 'Two', 'Three'], description: 'Pick something')
}
stages {
stage('Example') {
steps {
sh "echo Choice: ${params.CHOICE}"
}
}
}
}