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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.