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