ium_495716/stats/Jenkinsfile
2024-03-29 13:36:32 +01:00

25 lines
686 B
Groovy

pipeline {
agent {
docker {
image 'jvncziii/ium:latest'
}
}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
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 './stats/data_stats.sh'
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
}
}
}
}