ium_434684/Jenkinsfile

26 lines
442 B
Plaintext
Raw Normal View History

2021-03-22 12:48:56 +01:00
pipeline {
agent { dockerfile
{
args 'ti'
}}
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') {
2021-03-28 17:44:11 +02:00
steps{
archiveArtifacts artifacts: 'netflix_split_*.csv'
}
2021-03-28 17:40:07 +02:00
}
2021-03-22 12:48:56 +01:00
}
}