[05.03.20] kill stale pod

This commit is contained in:
andrewso 2020-03-05 19:35:12 +00:00
parent c5604af43f
commit 6c5b63cf50
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ metadata:
name: RESOURCE_NAME
namespace: production
spec:
replicas: 1
replicas: 0
selector:
matchLabels:
app: RESOURCE_NAME

View File

@ -29,7 +29,7 @@ try {
timestamps {
node ("${env.SLAVE_LABEL}") {
stage('Initialise') {
checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/spam-filter.git']]])
checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/price-collector.git']]])
env.APPLICATION_VERSION = get_application_version()