This commit is contained in:
s444501 2022-04-02 23:46:59 +02:00
parent 2ba3dc78a5
commit 2fae3f05b5

View File

@ -1,5 +1,7 @@
pipeline { pipeline {
agent any agent {
docker {image 'zadanie'}
}
parameters { parameters {
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
@ -20,7 +22,8 @@ pipeline {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444501-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts fingerprintArtifacts: true, projectName: 's444501-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'chmod u+x ./stats.sh' sh 'chmod u+x ./stats.sh'
sh './stats.sh' //sh './stats.sh'
sh "python ium-data.py"
archiveArtifacts 'stats.txt' archiveArtifacts 'stats.txt'
} }
} }