I am getting the following error in my pipeline:
<span>INFO: Executing the pipe...</span>
<span>INFO: Current directory: /opt/atlassian/pipelines/agent/build</span>
<span>WARNING: This pipe accepts files only from /opt/atlassian/pipelines/agent/build or any subfolders in this </span>
<span>path.</span>
<span>INFO: Start uploading 1 files ['791.zip']...</span>
<span>API request failed with status 401. Check your username and app password and try again.</span>
<span>Here is the step in question: <br><br></span>
- 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