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 butWill 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: stagingscript: - pipe: atlassian/trigger-pipeline:5.1.3variables:BITBUCKET_ACCESS_TOKEN: $testpipeREPOSITORY: 'test-repo'
For context:
Hope this helps
Cheers!
- Ben (Bitbucket Cloud Support)
It looks like you're new here. Sign in or register to get started.