This commit is contained in:
AWieczarek 2024-04-02 22:49:17 +02:00
parent 7f42f1b56e
commit 5f3473ab75

11
Jenkinsfile vendored
View File

@ -1,5 +1,10 @@
pipeline { pipeline {
agent any agent {
dockerfile {
args '--build-arg="KAGGLE_KEY=${env.KAGGLE_KEY}" --build-arg="KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"'
reuseNode true
}
}
parameters { parameters {
string(name: 'CUTOFF', defaultValue: '10000', description: 'Liczba wierszy do obcięcia ze zbioru danych') string(name: 'CUTOFF', defaultValue: '10000', description: 'Liczba wierszy do obcięcia ze zbioru danych')
@ -15,10 +20,6 @@ pipeline {
} }
stage('Download, Process, and Split Dataset') { stage('Download, Process, and Split Dataset') {
agent { dockerfile {
args '--build-arg="KAGGLE_KEY=${env.KAGGLE_KEY}" --build-arg="KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"'
}
}
steps { steps {
withEnv([ withEnv([
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",