Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there any way to change pipe(integration) name?

Namig Garajamirli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2023

Hi, everyone.

 

Please take your attention on the picture below. Is there any posibility to make the step more informative?

 

Screen Shot 2023-02-04 at 7.38.07 PM.png

2 answers

1 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 7, 2023

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 : 

  • Separate the pipes into different steps and give each step a different name : 
        - 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>
    With this change, there would be only one pipe per step, and you would be able to differentiate each step name in the step list on the right side.
    Screenshot 2023-02-07 at 3.12.48 PM.png
  • Add an echo command before the pipe so it prints more details about what that specific pipe will do :
    - 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>'
    This will show the echo command before each pipe execution
    Screenshot 2023-02-07 at 3.19.38 PM.png

Hope that helps! Let me know in case you have any other questions.

Thank you, @Namig Garajamirli !

Patrik S

Namig Garajamirli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2023

Thank you for the detailed answer, @Patrik S!

0 votes
Manuel Meister May 30, 2023

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 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events