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

Document support for Secret Text credential type in the plugin

      Creating a Bitbucket Server instance in any job type requires a user-name for Credentials (for build auth). It is worth supporting HTTP access tokens(not personal access tokens created for a specific user) created at project or repository level without requiring a user-name.

          [JENKINS-70285] Document support for Secret Text credential type in the plugin

          Hi RA, thanks for the suggestion.

          This feature actually already exists- you can use the "Secret Text" credential type to create a job credential using just a token and no username. However, when verifying this, I found two issues:

          • The credential is not working with git, and receives an auth error. This is a bug and I've raised it separately as JENKINS-71826
          • There's no documentation of this feature in product. I'll keep this ticket open for now but change the description to indicate we should add instructions for this both in the readme and as part of the help text on the SCM and SCM Source configuration screens.

          Martin Henschke added a comment - Hi RA, thanks for the suggestion. This feature actually already exists- you can use the "Secret Text" credential type to create a job credential using just a token and no username. However, when verifying this, I found two issues: The credential is not working with git, and receives an auth error. This is a bug and I've raised it separately as JENKINS-71826 There's no documentation of this feature in product. I'll keep this ticket open for now but change the description to indicate we should add instructions for this both in the readme and as part of the help text on the SCM and SCM Source configuration screens.

            Unassigned Unassigned
            raduman RA
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: