I am trying to create a pipeline job with the pipeline script from SCM option. I am using a bitbucket cloud repo I would like to configure it with Bitbucket project access tokens.
There doesn’t seem to be a plugin that directly supports this type of authentication. It works if I include the token directly in the URL but then its visible all over the place including build logs. It would be nice if it could be stored as a secret somewhere and injected in the URL as needed, for example:
I know this is possible directly in build scripts with credential binding but I cant find a way to do it for the SMC url configured directly in the jenkins UI.