Skip to content

Commit

Permalink
chore(jenkins): Omit empty string default values
Browse files Browse the repository at this point in the history
The empty string is the default default value for string parameters
anyway.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Dec 4, 2023
1 parent b6f6bc5 commit 7aac204
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions integrations/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,13 @@ pipeline {

string(
name: 'PROJECT_VCS_REVISION',
description: 'Optional VCS revision of the project (prefix Git tags with "refs/tags/").',
defaultValue: ''
description: 'Optional VCS revision of the project (prefix Git tags with "refs/tags/").'
)

credentials(
name: 'PROJECT_VCS_CREDENTIALS',
credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl',
description: 'Optional HTTP credentials to use for the VCS checkout.',
defaultValue: ''
description: 'Optional HTTP credentials to use for the VCS checkout.'
)

/*
Expand All @@ -79,27 +77,23 @@ pipeline {

string(
name: 'ORT_CONFIG_VCS_REVISION',
description: 'Optional VCS revision of the ORT configuration (prefix Git tags with "refs/tags/").',
defaultValue: ''
description: 'Optional VCS revision of the ORT configuration (prefix Git tags with "refs/tags/").'
)

string(
name: 'ORT_CONFIG_VCS_PATH',
description: 'Optional VCS path of the ORT configuration.',
defaultValue: ''
description: 'Optional VCS path of the ORT configuration.'
)

credentials(
name: 'ORT_CONFIG_VCS_CREDENTIALS',
credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl',
description: 'Optional HTTP credentials to use for the VCS checkout.',
defaultValue: ''
description: 'Optional HTTP credentials to use for the VCS checkout.'
)

string(
name: 'ENVIRONMENT_VARIABLES',
description: 'Optional list of comma-separated key=value pairs of environment variables to set.',
defaultValue: ''
description: 'Optional list of comma-separated key=value pairs of environment variables to set.'
)

choice(
Expand Down Expand Up @@ -138,14 +132,12 @@ pipeline {

string(
name: 'ENABLED_PACKAGE_MANAGERS',
description: 'A comma-separated list of package managers to enable. By default all package managers are enabled.',
defaultValue: ''
description: 'A comma-separated list of package managers to enable. By default all package managers are enabled.'
)

string(
name: 'DISABLED_PACKAGE_MANAGERS',
description: 'A comma-separated list of package managers to disable. By default no package manager is disabled.',
defaultValue: ''
description: 'A comma-separated list of package managers to disable. By default no package manager is disabled.'
)

/*
Expand Down

0 comments on commit 7aac204

Please sign in to comment.