18 lines
511 B
Plaintext
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"
|
|
}
|
|
}
|
|
}
|
|
} |