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