diff --git a/Dockerfile b/Dockerfile index 925eb54..903700e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY Data_download.ipynb ./ -COPY --chmod=755 /scripts /scripts - -ENTRYPOINT ["/scripts/entrypoint.sh"] +ENTRYPOINT ["/bin/bash"] diff --git a/Jenkinsfile b/Jenkinsfile index badc617..6660d71 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,6 +26,7 @@ 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/scripts/entrypoint.sh b/scripts/entrypoint.sh deleted file mode 100644 index 519a734..0000000 --- a/scripts/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -jupyter execute Data_download.ipynb -/bin/bash