ium_440058/Jenkinsfile2
2021-03-28 22:05:15 +02:00

18 lines
511 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: 's440058-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh "chmod 777 ./bash2.sh"
sh "./bash2.sh"
archiveArtifacts "courses.txt"
}
}
}
}