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.
ok, I found: incorrect indentation for pipe variables.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.