diff --git a/Dockerfile b/Dockerfile index 903700e..4dc73e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY Data_download.ipynb ./ -ENTRYPOINT ["/bin/bash"] +CMD jupyter execute Data_download.ipynb diff --git a/Jenkinsfile b/Jenkinsfile index 6660d71..badc617 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,6 @@ pipeline { steps { withEnv(["KAGGLE_USERNAME=${KAGGLE_USERNAME}", "KAGGLE_KEY=${KAGGLE_KEY}" ]) { - sh 'jupyter execute Data_download.ipynb' sh 'chmod 777 ./data_download.sh' sh './data_download.sh --cutoff ${CUTOFF}' archiveArtifacts artifacts: 'test_without_id_column.csv,cutoff_train.csv,test.csv,train.csv', followSymlinks: false diff --git a/stats/Jenkinsfile b/stats/Jenkinsfile index 7e3276f..bce9e20 100644 --- a/stats/Jenkinsfile +++ b/stats/Jenkinsfile @@ -2,6 +2,7 @@ pipeline { agent { docker { image 'jvncziii/ium:latest' + args '-it --entrypoint=/bin/bash' } } parameters {