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

Unable to use "secret text" type creds in jenkins job with this bitbucket plugin

    • 4.0.1

      Hi Team,

      I am unable to use the "secret text" credential type in jenkins jobs when using Bitbucket plugin as scm.

      It is giving the error attached in file.

       

      I have created a jenkins freestyle job.

      selected "Bitbucket Server" as scm.

      Added my Bitbucket instance details in it. Also created a credential type as "secret text" and added my Personal access token(created from my Bitbucket instance) in it as secret.

       

      Ran the job but it is failing with 403 error.

      Thanks

      Priyanka

       

          [JENKINS-72280] Unable to use "secret text" type creds in jenkins job with this bitbucket plugin

          Hi Priyanka, thanks for the report and apologies for the late response.

          It looks as though the Git SCM does not support secret text so this form of credential will not work with our plugin, and should be removed as a selectable option.

          Instead, for a personal access token you instead can use the Username Password credential, using your username as the name, and your personal access token as the password.

          Thanks,

          Martin

          Martin Henschke added a comment - Hi Priyanka, thanks for the report and apologies for the late response. It looks as though the Git SCM does not support secret text so this form of credential will not work with our plugin, and should be removed as a selectable option. Instead, for a personal access token you instead can use the Username Password credential, using your username as the name, and your personal access token as the password. Thanks, Martin

            mhenschke_atlassian Martin Henschke
            prikashy Priyanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: