Why the following not working
runs-on: - self.hosted
I want to run on any self hosted so what is the problem that the runner cannot be found?
Hi @Michał 👋🏻
Thanks for your question.
It looks like your syntax isn't working because Bitbucket Pipelines does not use the generic self.hosted label. Instead, it uses a custom or system-assigned label matching system. If a runner is offline, unregistered, or the label is misspelled, the pipeline will fail to locate it.
self.hosted
You do try the following options:
- self.hosted
- self.hosted-linux
- windows
bitbucket-pipelines.yml
Offline
I hope this helps & resolves your issue. 🙂
Thanks,Anwesha
Hi @Michał
Thanks for reaching out to the community.
Could be related to indentation about the config, could you try the below config instead?
pipelines: default: - step: runs-on: self.hosted script: - some_script_here
Regards,Mark C
It looks like you're new here. Sign in or register to get started.