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/**'