ium_434684/Jenkinsfile_stats

21 lines
443 B
Plaintext
Raw Normal View History

pipeline {
agent {docker { image 'zollinka/ium:latest' }}
2021-04-11 14:54:43 +02:00
stages {
2021-04-11 14:54:43 +02:00
stage('Sh script') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'chmod +x run.sh'
sh './run.sh > netflix_stats.txt'
}
}
}
stage('Archive artifacts') {
steps{
archiveArtifacts artifacts: 'netflix_stats.txt'
}
}
}
}