This commit is contained in:
AWieczarek 2024-04-02 22:53:09 +02:00
parent 5f3473ab75
commit 85528e8983

12
Jenkinsfile vendored
View File

@ -1,4 +1,10 @@
pipeline { pipeline {
parameters {
string(name: 'CUTOFF', defaultValue: '10000', description: 'Liczba wierszy do obcięcia ze zbioru danych')
string(name: 'KAGGLE_USERNAME', defaultValue: '', description: 'Kaggle username')
password(name: 'KAGGLE_KEY', defaultValue: '', description: 'Kaggle API key')
}
agent { agent {
dockerfile { dockerfile {
args '--build-arg="KAGGLE_KEY=${env.KAGGLE_KEY}" --build-arg="KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"' args '--build-arg="KAGGLE_KEY=${env.KAGGLE_KEY}" --build-arg="KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"'
@ -6,11 +12,7 @@ pipeline {
} }
} }
parameters {
string(name: 'CUTOFF', defaultValue: '10000', description: 'Liczba wierszy do obcięcia ze zbioru danych')
string(name: 'KAGGLE_USERNAME', defaultValue: '', description: 'Kaggle username')
password(name: 'KAGGLE_KEY', defaultValue: '', description: 'Kaggle API key')
}
stages { stages {
stage('Clone Repository') { stage('Clone Repository') {