Skip to content

Commit

Permalink
Update example to match new method names
Browse files Browse the repository at this point in the history
  • Loading branch information
kmanning committed Aug 2, 2020
1 parent a3a712e commit 17aafe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/BuildWithParametersPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Eg:
@Library(['terraform-pipeline@v5.1']) _
Jenkinsfile.init(this)
BuildWithParametersPlugin.addBooleanParam([
BuildWithParametersPlugin.withBooleanParameter([
name: 'PIPELINE_PREFERENCE',
description: 'Do you like pipelines?',
defaultValue: true
])
BuildWithParametersPlugin.addStringParam([
BuildWithParametersPlugin.withStringParameter([
name: 'PIPELINE_THOUGHTS',
description: 'What do you think about pipelines?',
defaultValue: 'They make deployments so easy'
Expand Down

0 comments on commit 17aafe3

Please sign in to comment.