Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jenkins declarative pipeline strange behaviour
pipeline
{
agent any;
parameters
{
choice(name: 'resolution', choices: ['a', 'b'], description: '')
booleanParam(name: 'debug', defaultValue: true, description: '')
}
stages
{
stage("echo")
{
steps
{
echo "${params.resolution}"
echo "${params.debug}"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment