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' } }