23 lines
413 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|