-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
pipeline:2.4
pipeline-model-definition-plugin:0.8.1
This is what I have to do now:
pipeline {
agent any
parameters {
choice(
// choices must be newline separated
choices: 'greeting\nsilence',
description: '',
name: 'REQUESTED_ACTION')
}
}
This is what I should be able to do:
pipeline {
agent any
parameters {
choice(
choices: ['greeting','silence'],
description: '',
name: 'REQUESTED_ACTION')
}
}
- is duplicated by
-
JENKINS-40358 Snippet editor: Invalid code for "choice" parameter/properties
-
- Resolved
-
- is related to
-
JENKINS-26143 Workflow Snippet Generator - Incorrect format for Input with Choice Parameter
-
- Resolved
-
- relates to
-
JENKINS-26143 Workflow Snippet Generator - Incorrect format for Input with Choice Parameter
-
- Resolved
-
-
JENKINS-40358 Snippet editor: Invalid code for "choice" parameter/properties
-
- Resolved
-