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

Disable masking of usernames for GitHub App secret

      The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials. The issue was solved for "Username Password" credentials by adding "Treat username as secret" which is absent for "GitHub App" credentials type.

      The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.
       
       
      As "App ID" is a number, it masks all such numbers in the console output:

          [JENKINS-66675] Disable masking of usernames for GitHub App secret

          I completely second this feature request, specially after having confronted https://issues.jenkins.io/browse/JENKINS-72412

          Alberto Gallardo added a comment - I completely second this feature request, specially after having confronted https://issues.jenkins.io/browse/JENKINS-72412

          This should be solved in github-branch-source-plugin, as suggested here: https://github.com/jenkinsci/credentials-binding-plugin/pull/284#issuecomment-1836522834

          Alberto Gallardo added a comment - This should be solved in github-branch-source-plugin, as suggested here: https://github.com/jenkinsci/credentials-binding-plugin/pull/284#issuecomment-1836522834

            jglick Jesse Glick
            iegorlopatin Iegor
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: