From ec8b44cdaf0126438f99f669ca595c2ca29e1d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pokrywka?= Date: Sun, 3 Apr 2022 13:49:36 +0200 Subject: [PATCH] refactoring --- Dockerfile | 2 +- Jenkinsfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b1a4caf..948ba60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ ENV CUTOFF=${CUTOFF} ENV KAGGLE_USERNAME=${KAGGLE_USERNAME} ENV KAGGLE_KEY=${KAGGLE_KEY} # Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie -CMD python3 -u ./download_data_and_process.py \ No newline at end of file +RUN ./process_data.sh \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 21c3f56..a4cdb34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,7 +34,6 @@ pipeline { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) { - sh "sudo ./process_data.sh" sh 'python3 ./download_data_and_process.py' archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv" }