29 lines
855 B
Groovy
29 lines
855 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('checkout: Check out from version control') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s434760/ium_434760.git'
|
|
}
|
|
}
|
|
stage('sh: Shell Script')
|
|
{
|
|
steps {
|
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
|
sh "chmod 777 ./script.sh"
|
|
sh './script.sh'
|
|
}
|
|
}
|
|
}
|
|
stage('archive artifacts') {
|
|
steps {
|
|
archiveArtifacts 'test.csv'
|
|
archiveArtifacts 'data_shuf.csv'
|
|
archiveArtifacts 'validation.csv'
|
|
archiveArtifacts 'train.csv'
|
|
archiveArtifacts 'header.csv'
|
|
}
|
|
}
|
|
}
|
|
} |