changed Jenkinsfile
This commit is contained in:
parent
58f556edcf
commit
4dd447ecec
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -4,7 +4,7 @@ pipeline {
|
|||||||
parameters {
|
parameters {
|
||||||
string(name: 'KAGGLE_USERNAME', defaultValue: 'gulczas', description: 'Kaggle username')
|
string(name: 'KAGGLE_USERNAME', defaultValue: 'gulczas', description: 'Kaggle username')
|
||||||
password(name: 'KAGGLE_KEY', defaultValue: '', description: 'Kaggle API key')
|
password(name: 'KAGGLE_KEY', defaultValue: '', description: 'Kaggle API key')
|
||||||
string(name: 'CUTOFF', defaultValue: '10', description: 'Number of rows to cut')
|
string(name: 'CUTOFF', defaultValue: '90', description: 'Number of rows to cut')
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
@ -9,7 +9,7 @@ unzip -o spotify-dataset.zip
|
|||||||
echo "------------------ Shufle ------------------"
|
echo "------------------ Shufle ------------------"
|
||||||
shuf Spotify_Dataset.csv -o shuffled_spotify.csv
|
shuf Spotify_Dataset.csv -o shuffled_spotify.csv
|
||||||
|
|
||||||
echo "------------------ Cut off top: $1 rows ------------------"
|
echo "------------------ Cut off to top $1 rows ------------------"
|
||||||
head -n $1 shuffled_spotify.csv > cutoff_spotify.csv
|
head -n $1 shuffled_spotify.csv > cutoff_spotify.csv
|
||||||
|
|
||||||
echo "------------------ Split ------------------"
|
echo "------------------ Split ------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user