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

Pipelines: How to cache dependencies with custom pipes


Given the pipeline configuration below:

image: node:12.3.1

- step:
- npm
- bower
- pipe: docker://username/pipe:0.0.1
- dist/**

npm: $HOME/.npm
bower: $HOME/.cache/bower/


  1. How do I cache the custom pipe "docker://username/pipe:0.0.1"?
  2. Why isn't .npm and bower being cached properly?
    Cache "npm": Downloading
    Cache "npm": Not found
    Cache "bower": Downloading
    Cache "bower": Not found


PS. I'm not looking at caching the node_modules folder. Instead I need to cache npm's cache.

1 answer

0 votes

Hi @pablodenadai . Pipelines don't cache files created inside a pipe. Is this something that you want to achieve?

@Alexander Zhukov I am facing a similar problem. This is a deal breaker when building with dependencies on large repositories. For reference, I'm experimenting with the JFrog Artifactory custom pipe and builds for simple example maven projects are taking 5 minutes.

@Alexander Zhukov is this still the case now?

This is a massive problem for our organization.

It defeats the advantage of having pipes maintained by Atlassian or vendors.

And even custom pipes for code sharing in an organization may be impaired by this.

Thank you

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,792 views 10 16
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