From 2fae3f05b5f14a41be5bf6c652199c90936b2c9a Mon Sep 17 00:00:00 2001 From: s444501 Date: Sat, 2 Apr 2022 23:46:59 +0200 Subject: [PATCH] test --- Jenkinsfile2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index c1932b2..8322d0f 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -1,5 +1,7 @@ pipeline { - agent any + agent { + docker {image 'zadanie'} + } parameters { buildSelector( defaultSelector: lastSuccessful(), @@ -20,7 +22,8 @@ pipeline { steps { copyArtifacts fingerprintArtifacts: true, projectName: 's444501-create-dataset', selector: buildParameter('BUILD_SELECTOR') sh 'chmod u+x ./stats.sh' - sh './stats.sh' + //sh './stats.sh' + sh "python ium-data.py" archiveArtifacts 'stats.txt' } }