Hi I would like to configure this pipe https://bitbucket.org/atlassian/trigger-pipeline/src/master/
It works fine with BITBUCKET_ACCESS_TOKEN if I set it as repository variable but
Will it work if I set it as deployment variable for Staging env?
Hi Yevhen,
As long as you set the deployment environment to the staging evironment using the "deployment" tag, yes it will. I've just tested this on my end and it worked with the following code:
TriggerTest:
- step:
name: "Test trigger pipe"
deployment: staging
script:
- pipe: atlassian/trigger-pipeline:5.1.3
variables:
BITBUCKET_ACCESS_TOKEN: $testpipe
REPOSITORY: 'test-repo'
For context:
Hope this helps :)
Cheers!
- Ben (Bitbucket Cloud Support)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.