fix setting kubeconfig
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -37,9 +37,9 @@ pipeline {
|
|||||||
script: "terraform output ecr_user_password",
|
script: "terraform output ecr_user_password",
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
env.KUBECONFIG="./kubeconfig.yaml"
|
|
||||||
sh "kubectl get node"
|
|
||||||
}
|
}
|
||||||
|
env.KUBECONFIG="terraform/kubeconfig.yaml"
|
||||||
|
sh "kubectl get node"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user