Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,864
Community Members
 
Community Events
168
Community Groups

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,452 views 3 10
Read article

Atlassian Community Events