Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

cannot pass artifact to following step


I have been hitting my head against the wall pretty hard on this one, hopefully, its all my fault and I missed something in the documentation somewhere :)


I have the following very simple pipeline


image: golang:1.12

- step:
name: Build and test
- mkdir -pv "${PACKAGE_PATH}"
- tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
- cd "${PACKAGE_PATH}"
- go get -v
- go build -v
- go test -v
- echo "Packaging app"
- tar cvf app.tar app config.yml
- ls -al
- pwd
- app.tar
- step:
name: Distribution
- pipe: atlassian/bitbucket-upload-file:0.1.2
FILENAME: 'app.tar'


A couple of output from this file:

  • the "ls -al" show that the files needed for the tar command do exist
  • The "ls -al" also show that the tar file was successfully created
  • The pwd command show that I am in the project repo
  • I have tried to put as artifact config.yml; does works
  • I have tried to put the app file as an artifact; does not work
  • the teardown command does show that there is no match for my artifact request


My problem is that I want to pass the app.tar as an artifact to upload it to the bitbucket download section in the following step, but I get the error the file is not found.


I am not sure what I am doing wrong, but any help would be appreciated



1 answer

Did you figure this issue out?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

753 views 17 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you