Hi,
I am running a .sh script inside atlassian/ssh-run:0.4.1 runner framework. In that script I would like to define local variables and/or export them, to be used later in the same script. However, the framework does not let me do that. Both local and exported variables are undefined when I try to use them later. For example:
Hi @Maxim Andersen,
Thank you for reaching out to the community.
Would you be able to confirm if you're using Bitbucket Cloud Pipelines Runners when you used the Pipes script (atlassian/ssh-run:0.4.1)?
If yes, would you be able to confirm what type of Runners are you using at the moment?
Regards,
Mark C
Yes, I am using Bitbucket Cloud Pipelines Runners, the runners are selfhosted, but the pipeline management is all cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Maxim Andersen
Since there's a new version of the Pipes script, would you be able to use the new version (atlassian/ssh-run:0.5.0) and see if you're still unable to export variables? - https://bitbucket.org/atlassian/ssh-run/src/master/
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.