-
Bug
-
Resolution: Fixed
-
Critical
-
-
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
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