Running pipeline steps on different self hosted runners

Andrew Grafham October 17, 2022

I'm trying to get a build of a C++ application to run simultaneously on Windows and Linux but have run into some difficulties with the output displayed in the bitbucket web interface.

I'm using the following bitbucket-pipelines.yml file as a test:-

pipelines:
default:
- step:
name: Windows Test1
runs-on:
- 'windows'
- 'self.hosted'
script:
- echo "This is a test"
- step:
name: Linux Test1
runs-on:
- 'linux.shell'
- 'self.hosted'
script:
- echo "This is a test on Linux"

 

 

but the output in bitbucket cloud is only showing the output from first step. It's reporting the build was successful, and it does seem to have run on Linux, but the output on the bitbucket cloud page under "Pipelines" only shows the windows part of the build.

 

Screenshot 2022-10-17 101723.png

 

Is this a bug in Bitbucket Pipelines or am I doing something wrong in my .yml file?

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Andrew Grafham October 17, 2022

Ignore this question - I've figured out the issue now. I'd managed to collapse the part of the page that allows you to select which step you want to see the output of.

Suggest an answer

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

Atlassian Community Events