pipe trigger-pipeline is faling due to missing REPOSITORY variable

Sergey Petrushin
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!
May 18, 2024

Hi,

I faced with quite strange issue with traggier-pipeline pipe.

The following code is not working when I'm trying to use self-hosted runners:

multi-rc:

- step:

name: Trigger Site-A RC

clone:

enabled: false

runs-on:

- 'self.hosted'

- 'linux'

size: 4x

script:

- pipe: atlassian/trigger-pipeline:5.7.0

variables:

BITBUCKET_ACCESS_TOKEN: $REPOSITORY_ACCESS_TOKEN

REPOSITORY: 'frontend'

REF_TYPE: 'branch'

CUSTOM_PIPELINE_NAME: 'site-a-rc'

REF_NAME: 'rc'

WAIT: 'false'

- step:

name: Trigger Site-B RC

clone:

enabled: false

runs-on:

- 'self.hosted'

- 'linux'

size: 4x

script:

- pipe: atlassian/trigger-pipeline:5.7.0

variables:

BITBUCKET_ACCESS_TOKEN: $REPOSITORY_ACCESS_TOKEN

REPOSITORY: 'frontend'

REF_TYPE: 'branch'

CUSTOM_PIPELINE_NAME: 'site-b-rc'

REF_NAME: 'rc'

WAIT: 'false'

Error:

✖ Validation errors:
REPOSITORY:

- required field

Any suggestions?

 

Thanks.

1 answer

1 accepted

2 votes
Answer accepted
Sergey Petrushin
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!
May 20, 2024

ok, I found: incorrect indentation for pipe variables.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events