update jenkinsfile and dockerfile
This commit is contained in:
parent
b41e82807d
commit
21af8472d1
@ -12,7 +12,7 @@ RUN apt-get install unzip
|
|||||||
RUN mkdir root/.kaggle
|
RUN mkdir root/.kaggle
|
||||||
RUN touch root/.kaggle/kaggle.json
|
RUN touch root/.kaggle/kaggle.json
|
||||||
RUN echo "{\"username\":\"maciejczajka\",\"key\":\"d8f044ad2b96d32372e22f9054c02bb1\"}" >> 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
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ stages {
|
|||||||
stage('Test') {
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
sh './download.sh'
|
sh './download.sh'
|
||||||
sh 'python3 --version'
|
sh 'python3 ./main.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user