2024-03-20 18:18:48 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
parameters {
|
|
|
|
buildSelector(
|
|
|
|
defaultSelector: lastSuccessful(),
|
2024-03-20 18:25:55 +01:00
|
|
|
description: 'Which build to use for copying artifacts',
|
2024-03-20 18:18:48 +01:00
|
|
|
name: 'BUILD_SELECTOR'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Dataset statistics') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter:'cutoff_train.csv',fingerprintArtifacts: true, projectName: 'z-s495716-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
|
|
|
sh 'chmod 777 stats/data_stats.sh'
|
|
|
|
sh './data_stats.sh'
|
|
|
|
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|