Skip to content

Commit

Permalink
fix(jenkins): Limit the credentials type to the supported type
Browse files Browse the repository at this point in the history
This is a fixup for b89610f to actually only allow to selected the
supported credentials type.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Nov 22, 2023
1 parent 5334b19 commit fced3d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrations/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pipeline {

credentials(
name: 'PROJECT_VCS_CREDENTIALS',
credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl',
description: 'Optional HTTP credentials to use for the VCS checkout.',
defaultValue: ''
)
Expand All @@ -84,6 +85,7 @@ pipeline {

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

0 comments on commit fced3d8

Please sign in to comment.