Skip to content

Instantly share code, notes, and snippets.

@petrolifero
Created June 12, 2019 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petrolifero/1a820055c462cc57b607d5fd572abaef to your computer and use it in GitHub Desktop.
Save petrolifero/1a820055c462cc57b607d5fd572abaef to your computer and use it in GitHub Desktop.
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