[05.03.20] kill stale pod

This commit is contained in:
andrewso 2020-03-05 19:39:16 +00:00
parent 6c5b63cf50
commit 5a204cea37
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@ FROM python:3.7-alpine
MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com>
RUN apk update && \
apk add py-pip libc-dev gcc
RUN pip install utils pycryptodome && \
pip install nltk numpy sklearn flask pandas
#RUN pip install utils pycryptodome && \
# pip install nltk numpy sklearn flask pandas
COPY . /home/spam-filter/.
EXPOSE 9090
CMD ["python", "/home/spam-filter/src/main.py"]

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/price-collector.git']]])
checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/spam-filter.git']]])
env.APPLICATION_VERSION = get_application_version()