ium_434684/Jenkinsfile
2021-03-28 17:44:11 +02:00

23 lines
413 B
Groovy

pipeline {
agent any
stages {
stage('Sh script') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'chmod +x jenkins_script.sh'
sh './jenkins_script.sh'
}
}
}
stage('Archive artifacts') {
steps{
archiveArtifacts artifacts: 'netflix_split_*.csv'
}
}
}
}