Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Pipeline WinRunner push issue

Edited

The setup runs-on self.hosted and windows.

The pipeline performs a build and also an add | commit | push.

This had been working properly for months, but over this past weekend the machine that hosts the pipeline was restarted.
Now, the pipeline build is still successful, but the add | commit | push fail with the following message:


git commit -m "Committing new build version number."; git push origin $Env:BITBUCKET_BRANCH}
[Develop 2054236] Committing new build version number.
1 file changed, 1 insertion(+), 1 deletion(-)
remote: The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
fatal: unable to access 'https://bitbucket.org/[repo-owner]/[repo-slug]/': The requested URL returned error: 403

I can guess from the https an authenticated user is required. Is this the case?

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 02, 2022 • edited

Hey @Martin Nicolaides 

G'day.

I suggest adding the following verbose commands to get a better idea of the issue:

GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 <git command_here>

Look for the authentication and if it's using the correct user/username to authenticate.

If not, you may want to check our guide. Push back to your repository and add the git remote set-url using the correct username and App Password to push back.

- git remote set-url origin https://<your username>:${APP_SECRET}@bitbucket.org/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}
- git push origin

Cheers,
Syahrul

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events