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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.