tweak(ium_03) Change repository path.

This commit is contained in:
sadurska@trui.pl 2021-04-19 23:15:47 +02:00
parent 95d2064580
commit 6a6bdb2aef

7
Jenkinsfile vendored
View File

@ -1,11 +1,6 @@
pipeline{
agent any
stages{
stage('Stage 1'){
steps{
echo 'Hello World!'
}
}
stage('checkout: Check out from version control'){
steps{
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '321737ab-1c4d-475f-9667-513cf19ba596', url: 'https://git.wmi.amu.edu.pl/s434780/ium_434780.git']]])
@ -14,7 +9,7 @@ pipeline{
stage('sh: Shell Script'){
steps{
sh '''#!/bin/bash
curl -OL https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/resources/Amazon_Consumer_Reviews.csv
curl -OL https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/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