ium_434684/Jenkinsfile

21 lines
397 B
Plaintext
Raw Normal View History

2021-03-22 12:48:56 +01:00
pipeline {
agent any
2021-03-22 12:55:30 +01:00
2021-03-22 12:48:56 +01:00
stages {
2021-03-28 17:40:07 +02:00
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') {
archiveArtifacts artifacts: 'netflix_split_*.csv'
}
2021-03-22 12:48:56 +01:00
}
}