From 83b1c4ed1d4ddb483b9199871814b3eb6a73b72b Mon Sep 17 00:00:00 2001 From: "sadurska@trui.pl" Date: Mon, 19 Apr 2021 15:36:43 +0200 Subject: [PATCH] tweak(ium_03) Update Jenkinsfile --- Jenkinsfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 384f099..b2c24e6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,14 @@ pipeline{ } stage('sh: Shell Script'){ steps{ - sh ./script.sh + sh '''#!/bin/bash + curl -OL https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/resources/Amazon_Consumer_Reviews.csv + head -n -1 Amazon_Consumer_Reviews.csv | shuf > Amazon_Consumer_Reviews.csv.shuf + wc -l Amazon_Consumer_Reviews.csv + head -n 500 Amazon_Consumer_Reviews.csv.shuf > test.csv + head -n 500 Amazon_Consumer_Reviews.csv.shuf | tail -n 2006 > dev.csv + tail -n +501 Amazon_Consumer_Reviews.csv.shuf > train.csv + wc -l *.csv ''' } } stage('Archive artifacts'){