pipeline { agent any stages { stage('Checkout') { steps { checkout scm } } stage('Apply to Cluster') { steps { sh ''' az login --identity az aks get-credentials --resource-group tst-aks-rg --name edu kubelogin convert-kubeconfig -l azurecli kubectl apply -f namespace.yaml kubectl apply -f secret-store.yaml kubectl apply -f deploy.yaml kubectl apply -f ingress.yaml kubectl rollout status deployment/user-microservice -n user-microservice ''' } } } }