Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to run more than one command in the following pipe "atlassian/google-gke-kubectl-run"

Edited

Hi,

Can I run more than one command in the COMMAND variable section while using the following pipe https://bitbucket.org/atlassian/google-gke-kubectl-run/src/master/?

For instance:

- pipe: atlassian/google-gke-kubectl-run:1.3.1
  variables:
    KEY_FILE: '<string>'
    PROJECT: '<string>'
    COMPUTE_ZONE: '<string>'
    CLUSTER_NAME: '<string>'
    KUBECTL_COMMAND: 'command_1','command_2'     <======

 

1 answer

@Saurabh Singh no, you cannot do it, this would be too complex pipe and would be hard to understand what actually succeeded and how.

I propose you to use you command in a separate step. You can also define those steps as parallel to save time (but be aware that perhaps this will require more pipeline resources like memory and cpu).

Otherwise, explain please us, your use case, why exactly you need it and we will think how to help you.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,439 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you