Fix archive
This commit is contained in:
parent
0750829580
commit
6bbe9bd7a6
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -26,7 +26,7 @@ pipeline {
|
||||
}
|
||||
stage('Archive Results') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'stats.txt', onlyIfSuccessful: true
|
||||
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ pipeline {
|
||||
}
|
||||
stage('Archive Results') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'stats.txt', onlyIfSuccessful: true
|
||||
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "------------------ wc all ------------------"
|
||||
wc -l beer_reviews.csv > stats_all.txt
|
||||
|
||||
echo "------------------ wc train ------------------"
|
||||
wc -l train.csv > stats_train.txt
|
||||
|
||||
echo "------------------ wc dev ------------------"
|
||||
wc -l dev.csv > stats_dev.txt
|
||||
|
||||
echo "------------------ wc test ------------------"
|
||||
wc -l test.csv > stats_test.txt
|
||||
|
||||
echo "------------------ wc test ------------------"
|
||||
mv stats_all.txt stats_train.txt stats_dev.txt stats_test.txt data/
|
||||
|
@ -25,4 +25,6 @@ tail -n $test_lines shuffled.csv > test.csv
|
||||
|
||||
# Czyszczenie
|
||||
echo "------------------ Clean ------------------"
|
||||
rm cutoff_$DATASET_FILE shuffled.csv
|
||||
rm cutoff_$DATASET_FILE shuffled.csv
|
||||
|
||||
mv train.csv dev.csv test.csv data/
|
||||
|
Loading…
Reference in New Issue
Block a user