added script and arcive

This commit is contained in:
Filip Izydorczyk 2021-03-27 17:30:11 +01:00
parent 274ce1d053
commit e5813d4fa2
2 changed files with 14 additions and 5 deletions

13
Jenkinsfile vendored
View File

@ -6,11 +6,16 @@ pipeline {
git 'https://git.wmi.amu.edu.pl/s434788/ium_434700'
}
}
stage('Goodbye!') {
stage('sh: Shell Script') {
steps {
sh 'chmod +x download.sh'
sh './download.sh'
}
}
stage('archiveArtifacts') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
archiveArtifacts 'output.txt'
archiveArtifacts 'top.csv'
archiveArtifacts 'netflix_titles.csv'
}
}
}

View File

@ -1 +1,5 @@
wget https://git.wmi.amu.edu.pl/s434700/ium_434700/raw/branch/master/netflix_titles.csv
wget https://git.wmi.amu.edu.pl/s434700/ium_s434700/raw/branch/master/netflix_titles.csv
head -n 256 winequality-red.csv > top.csv