From 391d4309dff7a994aa0cbae62b32a1593136d88d Mon Sep 17 00:00:00 2001 From: s434695 Date: Sat, 15 May 2021 17:35:29 +0200 Subject: [PATCH] fix --- Dockerfile | 6 +++++- Jenkinsfile | 13 ------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3352365..cc9814b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,4 +28,8 @@ COPY ./sacred1.py ./ COPY ./sacred2.py ./ COPY ./skrypt.sh ./ COPY ./zadanie2.py ./ -COPY ./zadanie5.py ./ \ No newline at end of file +COPY ./zadanie5.py ./ + +RUN ./train.py +RUN ./sacred1.py +RUN ./sacred2.py diff --git a/Jenkinsfile b/Jenkinsfile index 8fd5de5..f419fb9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,19 +25,6 @@ pipeline { copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD') } } - stage('docker-training') { - steps { - script { - def img = docker.build('shroomy/ium2:1') - img.inside { - sh "python3 train.py" - sh "python3 sacred1.py" - sh "python3 sacred2.py" - - } - } - } - } stage('archiveArtifacts') { steps{ archiveArtifacts 'ium_s434695/**'