update jenkinsfile and dockerfile

This commit is contained in:
Maciej Czajka 2022-04-02 14:19:59 +02:00
parent 29e6047c7e
commit 7e9f103b63
2 changed files with 1 additions and 6 deletions

View File

@ -17,7 +17,7 @@ RUN apt-get install unzip
#ENV KAGGLE_USERNAME=maciejczajka #ENV KAGGLE_USERNAME=maciejczajka
#ENV KAGGLE_KEY=d8f044ad2b96d32372e22f9054c02bb1 #ENV KAGGLE_KEY=d8f044ad2b96d32372e22f9054c02bb1
ENV CUTOFF=100 ENV CUTOFF=1000
ARG KAGGLE_USERNAME ARG KAGGLE_USERNAME
ARG KAGGLE_KEY ARG KAGGLE_KEY
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME} ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}

View File

@ -22,11 +22,6 @@ pipeline {
name: 'CUTOFF' name: 'CUTOFF'
) )
} }
environment {
KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
KAGGLE_KEY="$params.KAGGLE_KEY"
CUTOFF="$params.CUTOFF"
}
stages { stages {
stage('Script'){ stage('Script'){
steps { steps {