Hello Everyone
I have a Jenkins configured with Bitbucket which works fine, but sometimes without any reason I get messages like this:
Mar 11, 2024 11:21:42 AM INFO com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl handleError
Bitbucket - responded with not authorized
Mar 11, 2024 11:21:42 AM INFO com.atlassian.bitbucket.jenkins.internal.status.BuildStatusPoster postBuildStatus
Failed to post build status, additional information: Provided credentials cannot access the resource
Mar 11, 2024 11:21:48 AM INFO com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl handleError
Bitbucket - responded with not authorized
Mar 11, 2024 11:21:48 AM INFO com.atlassian.bitbucket.jenkins.internal.status.BuildStatusPoster postBuildStatus
Failed to post build status, additional information: Provided credentials cannot access the resource
It’s strange because we never changed anything on the user account (it’s a service account) and this happens occasionally, some random days. Has anyone seen something like this before?
And because of that I had to do a Manual scan of the pipeline every time, wich started to become annoying.