zad 6
This commit is contained in:
parent
152f57d3a1
commit
f51d93b313
@ -10,6 +10,9 @@ pipeline{
|
|||||||
stage('copy artefacts') {
|
stage('copy artefacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
|
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
|
||||||
|
sh "chmod u+x ./dataset_stats.sh"
|
||||||
|
sh "./dataset_stats.sh"
|
||||||
|
archiveArtifacts 'number_of_lines.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
dataset_stats.sh
Normal file
1
dataset_stats.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
wc -l data.csv >> number_of_lines.txt
|
Loading…
Reference in New Issue
Block a user