changed Jenkinsfile

This commit is contained in:
s464953 2024-03-25 21:19:43 +01:00
parent 58f556edcf
commit 4dd447ecec
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ pipeline {
parameters {
string(name: 'KAGGLE_USERNAME', defaultValue: 'gulczas', description: 'Kaggle username')
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 {

View File

@ -9,7 +9,7 @@ unzip -o spotify-dataset.zip
echo "------------------ Shufle ------------------"
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
echo "------------------ Split ------------------"