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

Execute a script in every step without write it everytime

LAMTARGI MEHDI
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2024

I want to install dependencies in each steps and I don't want to add in every step the script "yarn install". How can I do please ? I've seen the use of definitions but I can't set this up

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 19, 2024

Do you realize that you can use Bitbucket cache to save container images between two steps? It will not only make things simpler, but will accelerate your builds and save you build minutes.

https://support.atlassian.com/bitbucket-cloud/docs/cache-dependencies/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events