ium_434732/Jenkinsfile2
2021-03-28 21:08:08 +02:00

18 lines
565 B
Plaintext

pipeline {
agent any
parameters {
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
}
stages {
stage("One"){
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434732-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh "chmod 777 ./skrypt_zad2_stats.sh"
sh "./skrypt_zad2_stats.sh"
archiveArtifacts "stats.txt"
}
}
}
}