Hi, everyone.
Please take your attention on the picture below. Is there any posibility to make the step more informative?
Hello @Namig Garajamirli ,
Thank you for reaching out to Atlassian Community!
The log section you shared will print the command being executed by the script. I'm afraid it's not possible to change that to a different value as that is the name of the command. However I can think of the following workarounds that might help get more context of what the pipe is doing :
- step: name: SSH into serverA script: - pipe: atlassian/ssh-run:0.4.1 variables: SSH_USER: '<string>' SERVER: '<string>' COMMAND: '<string>' - step: name: SSH into serverB script: - pipe: atlassian/ssh-run:0.4.1 variables: SSH_USER: '<string>' SERVER: '<string>' COMMAND: '<string>
- step: name: My step script: - echo "SSH into server A" - pipe: atlassian/ssh-run:0.4.1 variables: SSH_USER: '<string>' SERVER: '<string>' COMMAND: '<string>' - echo "SSH into server B" - pipe: atlassian/ssh-run:0.4.1 variables: SSH_USER: '<string>' SERVER: '<string>' COMMAND: '<string>'
Hope that helps! Let me know in case you have any other questions.
Thank you, @Namig Garajamirli !
Patrik S
Thank you for the detailed answer, @Patrik S!
According to the docs, you should be able to just set the name besides variables:
https://support.atlassian.com/bitbucket-cloud/docs/step-options/#Name
https://support.atlassian.com/bitbucket-cloud/docs/step-options/#Pipe
Is this currently a bug? @Patrik S
It looks like you're new here. Sign in or register to get started.