Following the instructions given here, I am running following executions at some point in my Bitbucket Pipeline:
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl - chmod +x ./kubectl - sudo mv ./kubectl /usr/local/bin/kubectl
However the build fails with following error:
+ sudo mv ./kubectl /usr/local/bin/kubectl
bash: sudo: command not found
Why? Any hint? Thanks in advance.
Cheers and have a nice one,
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot