Added test environment
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -73,7 +73,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Push the Docker Image to DockerHub') {
|
stage('Push the Docker Image to DockerHub test') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
withCredentials([string(credentialsId: 'c7783e4f-2f79-482f-885f-dfb39f8c02d3', variable: 'docker_hub')]) {
|
withCredentials([string(credentialsId: 'c7783e4f-2f79-482f-885f-dfb39f8c02d3', variable: 'docker_hub')]) {
|
||||||
@@ -85,7 +85,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy to Kubernetes') {
|
stage('Deploy to Kubernetes test') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
kubeconfig(credentialsId: 'k3s-kubeconfig') {
|
kubeconfig(credentialsId: 'k3s-kubeconfig') {
|
||||||
|
|||||||
Reference in New Issue
Block a user