Jenkins fix
This commit is contained in:
parent
fbc8395e2c
commit
54f5e68caf
@ -3,7 +3,7 @@ pipeline {
|
|||||||
dockerfile true
|
dockerfile true
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
string(name: 'EPOCH', defaultValue: '10', description: 'Number of epochs in training')
|
string(name: 'EPOCHS', defaultValue: '10', description: 'Number of epochs in training')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("Git clone") {
|
stage("Git clone") {
|
||||||
@ -14,7 +14,7 @@ pipeline {
|
|||||||
stage("Training") {
|
stage("Training") {
|
||||||
steps {
|
steps {
|
||||||
sh "chmod 777 ml_training.py"
|
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