Merged tasks for both containers
This commit is contained in:
parent
cbd77b8bb1
commit
c09d7c448f
5
.jenkins/Jenkinsfile
vendored
5
.jenkins/Jenkinsfile
vendored
@ -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
|
||||
'''
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user