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

Problem to authenticate in bitbucket-clear-cache pipeline

Hi,

Recently, I've tried to use bitbucket-clear-cache pipeline in a project following the documentation. I used the pipeline credentials, but I'm getting this error of the image that Bitbucket no longer supports account passwords for API authentication.

Is that a way to authenticate to use this pipeline to clear the cache? Or exists another solution to do this?

 

Thanks in advance.

 

Captura de tela de 2022-10-31 18-25-06.png

1 answer

1 accepted

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 01, 2022

Hey @Karina Melo Rodrigues 

Welcome to the community.

It would be best if you used App Passwords as your credentials since we no longer support using Atlassian account credentials.

This is why you received the following error message the credentials you use to authenticate are not an App Password.

Let me know how it goes.

Cheers,
Syahrul

Hi @Syahrul

Thank for answering! I already tried to use app passwords for both user and password and just only for the password, but I get an error that they are null on running the pipeline.

This project was updated for the last time in 2021-02-02, is there another solution to clean the caches?

Thanks!

Captura de tela de 2022-11-03 14-28-52.png

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 03, 2022

Hey @Karina Melo Rodrigues 

G'day.

The screenshot error means you are not supplying value to App Password and Username; hence it returns a "null value are not allowed" error.

Please ensure you've added the variables in the repository settings for $BITBUCKET_USERNAME and $BITBUCKET_APP_PASSWORD with your Username and App Password.

Let me know how it goes.

Cheers,
Syahrul

Hey, @Syahrul

Thanks for answering! My mistake was I didn't understand that the variables of my account settings has to be the same in the repository. With your explanation, I did run the pipeline successfully.

Thank you very much!

Captura de tela de 2022-11-07 16-45-08.png

Like Syahrul likes this

Suggest an answer

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

Atlassian Community Events