26 lines
442 B
Groovy
26 lines
442 B
Groovy
pipeline {
|
|
agent { dockerfile
|
|
{
|
|
args 'ti'
|
|
}}
|
|
|
|
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
}
|