Jenkins fix
This commit is contained in:
parent
fbc8395e2c
commit
54f5e68caf
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user