ium_487197/Jenkinsfile2

12 lines
343 B
Plaintext

node {
stage('copyArtifact') {
copyArtifacts fingerprintArtifacts: true, projectName: 's487197-create-dataset', selector: lastSuccessful()
}
stage('Shell Script') {
sh 'chmod u+x ./stats.sh'
sh './stats.sh'
}
stage('archiveArtifacts') {
archiveArtifacts artifacts: 'stats.txt'
}
}