21 lines
614 B
Plaintext
21 lines
614 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
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 './data_stats.sh'
|
||
|
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|