I am getting the following error in my pipeline:
INFO: Executing the pipe...
INFO: Current directory: /opt/atlassian/pipelines/agent/build
WARNING: This pipe accepts files only from /opt/atlassian/pipelines/agent/build or any subfolders in this
path.
INFO: Start uploading 1 files ['791.zip']...
API request failed with status 401. Check your username and app password and try again.
Here is the step in question:
- step: &move-to-downloads
name: Upload artifact to Downloads
script:
- pipe: atlassian/bitbucket-upload-file:0.7.4
variables:
BITBUCKET_ACCESS_TOKEN: $BITBUCKET_ACCESS_TOKEN
FILENAME: '*.zip'
The access token I'm using has these scopes:
write:repository:bitbucket, read:repository:bitbucket
Hi @Eli Ogilvy
Welcome to the community!
Have you tried cloning the repository using the same token to verify that the token has write access to it? If you can, please raise a support ticket on our Support portal so we can help troubleshoot the issue further.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.