-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Credentials Binding Plugin 1.27
Jenkins 2.317
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.
[JENKINS-66991] Always getting "Masking supported pattern matches of" message in job log
Description |
Original:
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 everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
New:
I have a jenkins pipeline where I have something like this:
{quote}withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" }{quote} For everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
Description |
Original:
I have a jenkins pipeline where I have something like this:
{quote}withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" }{quote} For everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
New:
I have a jenkins pipeline where I have something like this:
bq. withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { bq. sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" bq. } For everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
Description |
Original:
I have a jenkins pipeline where I have something like this:
bq. withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { bq. sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" bq. } For everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
New:
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 everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
Description |
Original:
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 everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
New:
I have a jenkins pipeline where I have something like this:
{code:java} withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" } {code} For everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
Description |
Original:
I have a jenkins pipeline where I have something like this:
{code:java} withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" } {code} For everhy 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 supress these messages as for many executions of sshCommand log looks ugly. |
New:
I have a jenkins pipeline where I have something like this:
{code:java} withCredentials([sshUserPrivateKey(credentialsId: credentialsId, keyFileVariable: 'sshKeyFile' , usernameVariable: 'userName')]) { sshCommand remote: [ user: userName , identityFile: sshKeyFile ... ], command: "some cmd" } {code} 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. |
Assignee | New: Carroll Chiou [ carroll ] |
Is it even necessary to mask the file name at all? As opposed to the contents of the file.