testing deployment to kubernetes

This commit is contained in:
areeqakbr 2025-02-25 16:33:48 +07:00
parent 82be565f24
commit d33ae6d91a
1 changed files with 2 additions and 5 deletions

7
Jenkinsfile vendored
View File

@ -83,11 +83,8 @@ spec:
}
stage('Deploy to Kubernetes') {
steps {
kubernetesDeploy(
kubeconfigId: "${KUBE_CONFIG_ID}",
configs: 'deploy/kubernetes/dev.yaml',
)
withKubeConfig([credentialsId: "${KUBE_CONFIG_ID}"]) {
sh 'kubectl apply -f deploy/kubernetes/'
}
}
}