This is the first time we are implementing Continous testing using bitbucket pipeline. We are getting compilation error while modifyiing bitbucket-pipelines.yml file of dev repo to trigger test from a different repo (test repo), the file that we are modifying has code like this
pipelines:
custom:
deploy to dev:
import: repo-1:main:deploy_to_dev
deploy to qa:
import: repo-1:main:deploy_to_qa
We are trying to add the following values after the deploy to qa with proper indentation
pipe: atlassian/trigger-pipeline:5.0.0
variables:
REPOSITORY: 'repo-2'
REF_TYPE: 'branch'
REF_NAME: 'release'
CUSTOM_PIPELINE_NAME: 'custom: test on qa'
PIPELINE_VARIABLES: >
[{
"key": "TestType",
"value": "smoketest" }]
DEBUG: "true"
The code is not compiling, Please suggest correct way to invoke the test repo as given above with compilation working. I am sure this is not new and most of the company has implemented this.