- pipe: atlassian/kubectl-run:3.2.0
variables:
KUBE_CONFIG: $KUBE_CONFIG
KUBECTL_COMMAND: "get pods -n default --no-headers=true | grep ^core-srv | awk '{print $1}' |head -n2 |tail -n1 |xargs kubectl delete pod"
the output is this
Please I need help
Thank you for your question!
Current pipe's command implementation based on Python subprocess module.
So, this complex command with "shell pipe" is not supported.
If you need some feature implementation you could create your own custom pipe according to the guide.
Best regards,
Oleksandr Kyrdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.