ium_495716/stats/Jenkinsfile

26 lines
697 B
Plaintext
Raw Normal View History

2024-03-20 18:18:48 +01:00
pipeline {
2024-03-29 10:47:21 +01:00
agent {
2024-03-29 13:29:43 +01:00
docker {
image 'jvncziii/ium:latest'
2024-03-29 16:34:35 +01:00
args '-i'
2024-03-29 13:29:43 +01:00
}
2024-03-29 10:47:21 +01:00
}
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 {
stage('Dataset statistics') {
steps {
2024-03-29 15:47:31 +01:00
copyArtifacts filter:'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
}
}
}
}