tweak(ium_03) Change repository path.
This commit is contained in:
parent
6a6bdb2aef
commit
4359648c57
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -9,12 +9,12 @@ pipeline{
|
|||||||
stage('sh: Shell Script'){
|
stage('sh: Shell Script'){
|
||||||
steps{
|
steps{
|
||||||
sh '''#!/bin/bash
|
sh '''#!/bin/bash
|
||||||
curl -OL https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/Amazon_Consumer_Reviews.csv
|
curl -OL https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/data.csv
|
||||||
head -n -1 Amazon_Consumer_Reviews.csv | shuf > Amazon_Consumer_Reviews.csv.shuf
|
head -n -1 data.csv | shuf > data.csv.shuf
|
||||||
wc -l Amazon_Consumer_Reviews.csv
|
wc -l data.csv
|
||||||
head -n 500 Amazon_Consumer_Reviews.csv.shuf > test.csv
|
head -n 500 data.csv.shuf > test.csv
|
||||||
head -n 500 Amazon_Consumer_Reviews.csv.shuf | tail -n 2006 > dev.csv
|
head -n 500 data.csv.shuf | tail -n 2006 > dev.csv
|
||||||
tail -n +501 Amazon_Consumer_Reviews.csv.shuf > train.csv
|
tail -n +501 data.csv.shuf > train.csv
|
||||||
wc -l *.csv '''
|
wc -l *.csv '''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user