Trying to trigger a pipeline in another repo
The triggering repo has this for its bitbucket-pipelines.yml
options:
docker: true
pipelines:
pull-requests:
'**': #trigger pipeline in gemm_fw
- step:
script:
- pipe: atlassian/trigger-pipeline:5.0.1
variables:
BITBUCKET_USERNAME: 'bsteinic'
BITBUCKET_APP_PASSWORD: 'app-password generated'
REPOSITORY: 'gemm_fw'
REF_TYPE: 'branch'
REF_NAME: 'master'
#CUSTOM_PIPELINE_NAME: 'pull-requests'
# [{
# "key": "BITBUCKET_BRANCH",
# "value": "${BITBUCKET_BRANCH}"
# }]
DEBUG: 'true'
WAIT: 'true'
Fails with the following:
DEBUG: Starting new HTTPS connection (1): bitbucket.org:443
DEBUG: https://bitbucket.org:443 "GET /bitbucketpipelines/official-pipes/raw/master/pipes.prod.json HTTP/1.1" 200 None
DEBUG: Starting new HTTPS connection (1): api.bitbucket.org:443
DEBUG: https://api.bitbucket.org:443 "POST /2.0/repositories/tdwilliamson_ee/gemm_fw/pipelines/ HTTP/1.1" 400 160
✖ Error: {"error": {"message": "Bad request", "detail": "bitbucket-pipelines.yml not found.", "data": {"key": "result-service.pipeline.yml-not-found", "arguments": {}}}}