ium_495716/stats/Jenkinsfile

21 lines
622 B
Plaintext
Raw Normal View History

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 {
2024-03-20 18:28:03 +01:00
copyArtifacts filter:'cutoff_train.csv', fingerprintArtifacts: true, projectName: 'z-s495716-create-dataset', selector: buildParameter('BUILD_SELECTOR')
2024-03-20 18:18:48 +01:00
sh 'chmod 777 stats/data_stats.sh'
2024-03-20 18:28:03 +01:00
sh './stats/data_stats.sh'
2024-03-20 18:18:48 +01:00
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
}
}
}
}