ium_495716/stats/Jenkinsfile

25 lines
700 B
Plaintext
Raw Normal View History

2024-03-20 18:18:48 +01:00
pipeline {
2024-03-29 18:53:56 +01:00
agent {
docker {
image 'jvncziii/ium:latest'
}
}
2024-03-20 18:18:48 +01:00
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 {
2024-03-29 18:44:34 +01:00
stage('Dataset statistics') {
steps {
copyArtifacts filter:'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
}
2024-03-20 18:18:48 +01:00
}
}
2024-03-29 18:55:26 +01:00
}