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'