Update 'Jenkinsfile'

This commit is contained in:
Mikołaj Perz 2023-04-19 21:54:58 +02:00
parent 9cc994181f
commit 0954475b21

11
Jenkinsfile vendored
View File

@ -41,11 +41,18 @@ pipeline {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'kaggle datasets download -d gpreda/covid-world-vaccination-progress.zip'
sh 'unzip covid-world-vaccination-progress.zip.zip -d ./ium_z360792'
// sh 'kaggle datasets download -d gpreda/covid-world-vaccination-progress.zip'
// sh 'unzip covid-world-vaccination-progress.zip.zip -d ./ium_z360792'
}
}
}
stage('RunScript') {
steps {
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
sh 'cd ./ium_z360792'
sh 'python skrypt.py'
}
}
stage('Goodbye!') {
steps {