Create
cancel
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

install step in pipeline

Hello,

I am new for pipelines so excuse me if the question is obvious

In my build I have two steps:

1. Install VTK library. This is a long-time step but it needs to be run ~once a year

2. make myVTKapp. This is a quick step needs to be run several times a day (per each commit into the repo), but it is requires pre-installed VTK library

So how to do this with the pipeline without re-installing VTK each time?

Regards,

Sergey

 

1 answer

1 accepted

0 votes
Answer accepted
Jimmy Seddon Community Leader Dec 12, 2021

Hi @Sergey Kurchatov,

Welcome to the Community!

This is going to depend on things about your environment.  The short version is that you really shouldn't do this as your build pipeline will work best when all of the steps can be run on every single build for consistency sake.

However, if you need to have the "Install VTK Library" step run but not as often, you are going to need to provide the agent machines the build will be performed on using:

Bitbucket Pipelines Runners

You will setup the Install VTK Library to execute against the agent infrastructure you provide.  Then you setup another build pipeline that runs just the make myVTKApp and is only executed by the agents that you have setup with Runners.

I hope that helps!

-Jimmy

Thank you Jimmy Seddon!

I will try.

Sergey

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

110 views 2 4
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