update jenkinsfile and dockerfile

This commit is contained in:
Maciej Czajka 2022-04-02 12:45:49 +02:00
parent b41e82807d
commit 21af8472d1
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ RUN apt-get install unzip
RUN mkdir root/.kaggle
RUN touch root/.kaggle/kaggle.json
RUN echo "{\"username\":\"maciejczajka\",\"key\":\"d8f044ad2b96d32372e22f9054c02bb1\"}" >> root/.kaggle/kaggle.json
RUN chmod 600 root/.kaggle/kaggle.json
RUN chmod 666 root/.kaggle/kaggle.json
WORKDIR /app

View File

@ -6,7 +6,7 @@ stages {
stage('Test') {
steps {
sh './download.sh'
sh 'python3 --version'
sh 'python3 ./main.py'
}
}
}