You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When running a trigger in bitbucket pipelines, I get this error :
Error: {"error": {"message": "Bad request", "detail": "bitbucket-pipelines.yml not found.", "data": {"key": "result-service.pipeline.yml-not-found", "arguments": {}}}}
The repo which should trigger the pipeline is a private team repo, but I should have all the rights (I can read & write to the repo)
This is bitbucket-pipelines.yml:
pipelines:
branches:
development:
- step:
name: Trigger Boilerplate & Xperify Build (development)
script:
- pipe: atlassian/trigger-pipeline:5.0.0
variables:
BITBUCKET_USERNAME: $TRIGGER_USERNAME
BITBUCKET_APP_PASSWORD: $TRIGGER_PASSWORD
REPOSITORY: oculariumfrontendboilerplate
REF_TYPE: 'branch'
REF_NAME: 'development'
- pipe: atlassian/trigger-pipeline:5.0.0
variables:
BITBUCKET_USERNAME: $TRIGGER_USERNAME
BITBUCKET_APP_PASSWORD: $TRIGGER_PASSWORD
REPOSITORY: ocularium-frontend-xperify
REF_TYPE: 'branch'
REF_NAME: 'development'
The app password I generated has the correct permissions set
Thank you for reaching out to the community.
Based on the error message, it seems there's no recognized file (bitbucket-pipelines.yml) in the "development" branch of your private repository.
Would it be possible for you to check if the file (bitbucket-pipelines.yml) exists in the private repository "development" branch?
You can use this link to check it, just change it with your workspace ID and repository name:
https://bitbucket.org/workspace_id/repo_name/src/development/
Let me know how it goes.
Regards,
Mark C
It turns out that the problem was that the bitbucket-pipelines.yml file was present in the target repository (the repo which is getting triggered), but it didn't contain a pipeline matching the development branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Steven Delrue .
Also please check that you enabled pipeline support in your triggered repository.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.