now it works
This commit is contained in:
parent
d0c7f251bc
commit
26686d9660
12
stats/Jenkinsfile
vendored
12
stats/Jenkinsfile
vendored
@ -1,9 +1,11 @@
|
||||
node {
|
||||
checkout scm
|
||||
docker.image('jvncziii/ium:latest').withRun('') { c->
|
||||
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
|
||||
stage("File stats") {
|
||||
docker.image('jvncziii/ium:latest').withRun('') { c->
|
||||
copyArtifacts(projectName: 'z-s495716-create-dataset', selector: lastSuccessful(), filter: 'train.csv')
|
||||
sh 'chmod 777 stats/data_stats.sh'
|
||||
sh './stats/data_stats.sh'
|
||||
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
figlet "Counting dataset lines"
|
||||
wc -l cutoff_train.csv > train_lines.txt
|
||||
wc -l train.csv > train_lines.txt
|
||||
|
Loading…
Reference in New Issue
Block a user