Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66991

Always getting "Masking supported pattern matches of" message in job log

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor 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

          Vlad Uros created issue -
          Vlad Uros made changes -
          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.
          Vlad Uros made changes -
          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.
          Vlad Uros made changes -
          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.
          Vlad Uros made changes -
          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.
          Vlad Uros made changes -
          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.
          Vlad Uros made changes -
          Assignee New: Carroll Chiou [ carroll ]
          Carroll Chiou made changes -
          Assignee Original: Carroll Chiou [ carroll ]
          Carroll Chiou made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]

            Unassigned Unassigned
            vladaurosh Vlad Uros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: