modify jenkinsfile, add bash script

This commit is contained in:
Yevhenii Poliakov 2023-03-28 22:49:53 +02:00
parent 86cf2c315c
commit c50eefbc4d
3 changed files with 24416 additions and 3 deletions

24404
25k_movies.csv.shuf Normal file

File diff suppressed because it is too large Load Diff

4
Jenkinsfile vendored
View File

@ -8,9 +8,7 @@ pipeline {
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
echo ("sh: Shell Script")
sh "./script1"
}
}
}

11
script1 Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
wc -l 25k_IMDb_movie_Dataset.csv
head -n 5 25k_IMDb_movie_Dataset.csv
cut -f 5 -d "," 25k_IMDb_movie_Dataset.csv | sort | uniq -c
grep -P "^$" -n 25k_IMDb_movie_Dataset.csv
head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf