Jenkins fix

This commit is contained in:
Andrzej Preibisz 2022-05-02 21:06:30 +02:00
parent fbc8395e2c
commit 54f5e68caf

View File

@ -3,7 +3,7 @@ pipeline {
dockerfile true
}
parameters {
string(name: 'EPOCH', defaultValue: '10', description: 'Number of epochs in training')
string(name: 'EPOCHS', defaultValue: '10', description: 'Number of epochs in training')
}
stages {
stage("Git clone") {
@ -14,7 +14,7 @@ pipeline {
stage("Training") {
steps {
sh "chmod 777 ml_training.py"
sh "python3 ml_training.py $EPOCH"
sh "python3 ml_training.py"
}
}
}