This commit is contained in:
Jakub Zaręba 2023-05-10 15:36:16 +02:00
parent e854e7076d
commit a8c7e2958f

View File

@ -6,7 +6,7 @@ pipeline {
}
}
parameters {
string(name: 'TRAIN_PARAMS', defaultValue: '', description: 'Parametry dla skryptu trenującego')
string(name: 'EPOCHS', defaultValue: '10', description: 'Liczba Epok')
}
stages {
stage('Pobierz dane') {
@ -19,7 +19,7 @@ pipeline {
stage('Trenuj model') {
steps {
script {
sh 'python3 train.py ${params.TRAIN_PARAMS}'
sh 'python3 train.py ${params.EPOCHS}'
}
}
}