Merged tasks for both containers

This commit is contained in:
Marcin-Ramotowski 2025-06-12 21:35:07 +00:00
parent cbd77b8bb1
commit c09d7c448f

View File

@ -1,7 +1,6 @@
pipeline {
agent {
kubernetes {
defaultContainer 'kubectl'
yamlFile '.jenkins/podTemplate.yaml'
}
}
@ -26,10 +25,6 @@ pipeline {
sh '''
az login --identity
az aks get-credentials --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME --overwrite-existing
'''
}
container('kubelogin') {
sh '''
kubelogin convert-kubeconfig -l azurecli
'''
}