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

To change the Gradle Distribution Binary to download only once while Pipeline is running

Jiwon Jeon
Contributor
April 24, 2023

Hi, It is confirmed that the distribution binary zip is downloaded as the gradlew script is executed in every Pipeline step.
How should the YML implementation change to implement this to be downloaded only in the first step and used without download in other steps?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2023

Hi @Jiwon Jeon,

I am not sure what is the setup of your build and whether you are referring to some dependency that could be cached or something different.

Could you perhaps share the content of your bitbucket-pipelines.yml file and explain what is executed and downloaded in each step?

If you don't feel comfortable sharing this info here in a public forum, you could also create a ticket with the support team (which will be visible only to you and Atlassian staff). If you prefer to create a ticket, you can create it via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events