Skip to content

Commit

Permalink
Merge pull request voxpupuli#760 from vrtdev/nullpointer+workaround-p…
Browse files Browse the repository at this point in the history
…uppetmaster

Avoid getting plainText from null passphrase
  • Loading branch information
jhoblitt authored May 18, 2017
2 parents 0ad92e2 + fcf3da8 commit 3c395c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/puppet_helper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ class Actions {
info['description'] = cred.description
info['username'] = cred.username
info['private_key'] = cred.privateKey
info['passphrase'] = cred.passphrase.plainText
info['passphrase'] = cred.passphrase?.plainText
break
case 'com.dabsquared.gitlabjenkins.connection.GitLabApiTokenImpl':
info['apiToken'] = cred.apiToken.plainText
Expand Down

0 comments on commit 3c395c5

Please sign in to comment.