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') {
|
stage('Archive Results') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: 'stats.txt', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Archive Results') {
|
stage('Archive Results') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: 'stats.txt', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "------------------ wc all ------------------"
|
||||||
wc -l beer_reviews.csv > stats_all.txt
|
wc -l beer_reviews.csv > stats_all.txt
|
||||||
|
|
||||||
|
echo "------------------ wc train ------------------"
|
||||||
wc -l train.csv > stats_train.txt
|
wc -l train.csv > stats_train.txt
|
||||||
|
|
||||||
|
echo "------------------ wc dev ------------------"
|
||||||
wc -l dev.csv > stats_dev.txt
|
wc -l dev.csv > stats_dev.txt
|
||||||
|
|
||||||
|
echo "------------------ wc test ------------------"
|
||||||
wc -l test.csv > stats_test.txt
|
wc -l test.csv > stats_test.txt
|
||||||
|
|
||||||
|
echo "------------------ wc test ------------------"
|
||||||
|
mv stats_all.txt stats_train.txt stats_dev.txt stats_test.txt data/
|
||||||
|
@ -26,3 +26,5 @@ tail -n $test_lines shuffled.csv > test.csv
|
|||||||
# Czyszczenie
|
# Czyszczenie
|
||||||
echo "------------------ Clean ------------------"
|
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