ium_478815/Jenkinsfile_stats

26 lines
646 B
Plaintext

pipeline {
agent any
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
}
stages {
stage('CopyArtifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-datasets', selector: buildParameter('BUILD_SELECTOR')
sh "chmod +x -R ${env.WORKSPACE}"
sh './skrypt_stats.sh'
}
}
stage('Archive') {
steps {
archiveArtifacts 'data.csv.shuf.uptd'
}
}
}
}