jenkinsci / jenkinsci/credentials-binding-plugin

[JENKINS-66991] Always getting "Masking supported pattern matches of" message in job log

Open
#493 5 comments 1 reaction 0 assignees View on GitHub
component:credentials-binding-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
57
Forks
108
PR merge metrics
No merged PRs in 30d

Description

I have a jenkins pipeline where I have something like this:

withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) {

sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd"
}

For every execution of ssh command using sshCommand step I see in job log:

Masking supported pattern matches of $sshKeyFile

Would be nice to have option to suppress these messages as for many executions of sshCommand log looks ugly.

---
Originally reported by vladaurosh, imported from: Always getting "Masking supported pattern matches of" message in job log


  • status: Open
  • priority: Minor
  • component(s): credentials-binding-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 4
  • imported: 20251211-141027

Raw content of original issue

I have a jenkins pipeline where I have something like this:


withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) {

sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd"
}

For every execution of ssh command using sshCommand step I see in job log:
Masking supported pattern matches of $sshKeyFile

Would be nice to have option to suppress these messages as for many executions of sshCommand log looks ugly.

environment

```
Credentials Binding Plugin 1.27

Jenkins 2.317
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.