ium_z487183/JenkinsfileDatasetStats
2023-04-21 10:46:20 +02:00

23 lines
666 B
Plaintext

pipeline {
agent any
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
stages {
stage('Copy artifacts') {
steps {
copyArtifacts filter: 'X_test.csv,X_val.csv,X_train.csv,Y_test.csv,Y_val.csv,Y_train.csv', fingerprintArtifacts: true, projectName: 'z487183-create-dataset', selector: workspace()
}
}
stage('Prepare stats') {
steps {
sh './prepare-stats.sh'
archiveArtifacts 'stats.txt'
}
}
}
}