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 {
|
node {
|
||||||
checkout scm
|
checkout scm
|
||||||
docker.image('jvncziii/ium:latest').withRun('') { c->
|
stage("File stats") {
|
||||||
copyArtifacts filter:'train.csv', fingerprintArtifacts: true, projectName: 'z-s495716-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
docker.image('jvncziii/ium:latest').withRun('') { c->
|
||||||
sh 'chmod 777 stats/data_stats.sh'
|
copyArtifacts(projectName: 'z-s495716-create-dataset', selector: lastSuccessful(), filter: 'train.csv')
|
||||||
sh './stats/data_stats.sh'
|
sh 'chmod 777 stats/data_stats.sh'
|
||||||
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
|
sh './stats/data_stats.sh'
|
||||||
|
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
figlet "Counting dataset lines"
|
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