2021-03-25 13:29:44 +01:00
|
|
|
pipeline {
|
2021-03-27 15:56:49 +01:00
|
|
|
agent any
|
|
|
|
stages {
|
2021-03-27 17:10:00 +01:00
|
|
|
stage('checkout: Check out from version control') {
|
2021-03-27 15:56:49 +01:00
|
|
|
steps {
|
2021-03-27 17:31:51 +01:00
|
|
|
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
|
2021-03-27 15:56:49 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 17:30:11 +01:00
|
|
|
stage('sh: Shell Script') {
|
|
|
|
steps {
|
|
|
|
sh 'chmod +x download.sh'
|
|
|
|
sh './download.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('archiveArtifacts') {
|
2021-03-27 16:13:17 +01:00
|
|
|
steps {
|
2021-03-27 17:30:11 +01:00
|
|
|
archiveArtifacts 'top.csv'
|
|
|
|
archiveArtifacts 'netflix_titles.csv'
|
2021-03-27 16:13:17 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 15:56:49 +01:00
|
|
|
}
|
2021-03-25 13:29:44 +01:00
|
|
|
}
|