Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

macos self.hosted runner

Stanley Ejechi
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!
October 10, 2022

I am trying to test a swift project on macos self.hosted runner.

Currently my yml script just contains this:

 

pipelines:
  default:
    - parallel:
      - step:
           name: "Build"
           runs-on:
             - macos
             - self.hosted

          script:
             - "echo \"Your build and test goes here...\""
However, the pipeline is failing with error: 
/bin/bash: /Volumes/****: No such file or directory
What am i doing wrong?

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2022

Hi @Stanley Ejechi,

Welcome to the community.

When you set up the macOS runner on your end, would you be able to confirm if you've changed the workingDirectory path?
Also, would you be able to confirm if you've followed the steps similar to the commands below when you set up the macOS runners?

curl https://product-downloads.atlassian.com/software/bitbucket/pipelines/atlassian-bitbucket-pipelines-runner-1.369.tar.gz --output atlassian-bitbucket-pipelines-runner.tar.gz

mkdir atlassian-bitbucket-pipelines-runner && tar -xzvf atlassian-bitbucket-pipelines-runner.tar.gz -C atlassian-bitbucket-pipelines-runner

cd atlassian-bitbucket-pipelines-runner/bin

./start.sh --accountUuid SOME_UUID --repositoryUuid SOME_UUID --runnerUuid SOME_UUID --OAuthClientId SOME_ID --OAuthClientSecret SOME_SECRET --runtime macos-bash --workingDirectory ../temp

Thanks and looking forward to your response.

Regards,
Mark C

Suggest an answer

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

Atlassian Community Events