Is there any way to change pipe(integration) name?
Asked by Namig Garajamirli:

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](/t5/image/serverpage/image-id/238271i3D9BE057D25D1DD1/image-size/large?v=v2&px=999 "Screen Shot 2023-02-04 at 7.38.07 PM.png")


Answers:
author: Patrik S
body: Hello [@Namig Garajamirli](/t5/user/viewprofilepage/user-id/4997621) ,

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](https://community.atlassian.com/t5/image/serverpage/image-id/238765i934579BF64C8C84D/image-dimensions/265x164?v=v2 "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](https://community.atlassian.com/t5/image/serverpage/image-id/238768iA61A884709FC2C02/image-dimensions/457x84?v=v2 "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](/t5/user/viewprofilepage/user-id/4997621) !

Patrik S

comments: author: Namig Garajamirli
body: Thank you for the detailed answer, [@Patrik S](/t5/user/viewprofilepage/user-id/4603309)!


author: Manuel Meister
body: 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](/t5/user/viewprofilepage/user-id/4603309)


Tags: bitbucket-cloud

bitbucket-pipelines

cloud