From 9573169b9bd68abfc4c222dea1feb14ff193b8b9 Mon Sep 17 00:00:00 2001 From: ulaniuk Date: Sun, 3 Apr 2022 22:38:17 +0200 Subject: [PATCH] Revert --- Dockerfile | 3 +++ Jenkinsfile | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b9af838..78115d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,3 +14,6 @@ RUN pip install --user sklearn COPY KaggleV2-May-2016.csv ./ COPY create_data.py ./ COPY stats_data.py ./ + +CMD ["python", "create_data.py"] +CMD ["python", "stats_data.py"] diff --git a/Jenkinsfile b/Jenkinsfile index e10dc00..a2e6fa3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,12 +35,13 @@ pipeline { } stage("Build docker") { steps { + sh 'echo "BUILD DOCKER"' sh 'docker build -t ium .' } } stage("Data Preparation") { steps { - sh 'echo "PREPARATION"' + sh 'echo "DATA PREPARATION"' sh "chmod u+x ./preparation.sh" sh "./preparation.sh" archiveArtifacts 'KaggleV2-May-2016.csv'