ium_434760/Jenkinsfile

29 lines
882 B
Plaintext
Raw Normal View History

2021-03-28 19:38:58 +02:00
pipeline {
agent any
stages {
2021-03-28 22:13:52 +02:00
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}",
2021-03-28 22:59:43 +02:00
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
2021-03-28 22:35:53 +02:00
sh "chmod 777 ./script.sh"
2021-03-28 22:13:52 +02:00
sh './script.sh'
}
}
}
stage('archive artifacts') {
2021-03-28 19:38:58 +02:00
steps {
2021-03-28 22:39:46 +02:00
archiveArtifacts 'test.csv'
archiveArtifacts 'data_shuf.csv'
archiveArtifacts 'validation.csv'
archiveArtifacts 'train.csv'
archiveArtifacts 'header.csv'
2021-03-28 19:38:58 +02:00
}
}
}
}