Commit bba8b5bd authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Fix jenkinsfile deploy type for cronjob (v1beta1->v1)

parent f0a7008d
......@@ -105,21 +105,21 @@ pipeline {
updateContainerImage([
namespace: "${env.NAMESPACE}",
selector: "job=github-sync",
kind: "cronjob.v1beta1.batch",
kind: "cronjob.v1.batch",
containerName: "${env.CONTAINER_NAME}",
newImageRef: "${env.IMAGE_NAME}:${env.TAG_NAME}"
])
updateContainerImage([
namespace: "${env.NAMESPACE}",
selector: "job=gitlab-sync",
kind: "cronjob.v1beta1.batch",
kind: "cronjob.v1.batch",
containerName: "${env.GL_CRONJOB_NAME}",
newImageRef: "${env.GL_IMAGE_NAME}:${env.TAG_NAME}"
])
updateContainerImage([
namespace: "${env.NAMESPACE}",
selector: "job=github-org-backup",
kind: "cronjob.v1beta1.batch",
kind: "cronjob.v1.batch",
containerName: "${env.BUI_CONTAINER_NAME}",
newImageRef: "${env.BUI_IMAGE_NAME}:${env.TAG_NAME}"
])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment