You may be affected by a Bitbucket Server bug that has just recently been resolved in release 4.11:
So if your configuration matches the issue description, an upgrade to Bitbucket Server >= 4.11 might/should solve the problem accordingly - that being said, the ongoing discussion on the related and still unresolved Bamboo issue has not yet confirmed whether that is always the case, insofar one communicated workaround for Bitbucket Server < 4.11 does not seem to work:
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot