Param added to jenkinsfile
All checks were successful
444507-training/pipeline/head This commit looks good
All checks were successful
444507-training/pipeline/head This commit looks good
This commit is contained in:
parent
c823e0e4fb
commit
be740d8b71
@ -2,6 +2,9 @@ pipeline {
|
||||
agent {
|
||||
docker { image 's444507_create_dataset_image:latest' }
|
||||
}
|
||||
parameters {
|
||||
string(name: 'epoch', defaultValue: '1000', description: 'Number of epochs to train model.')
|
||||
}
|
||||
stages {
|
||||
stage('Get arifacts') {
|
||||
steps {
|
||||
@ -10,7 +13,7 @@ pipeline {
|
||||
}
|
||||
stage('Show stats') {
|
||||
steps {
|
||||
sh "python3 ./lab05_deepLearning.py"
|
||||
sh "python3 ./lab05_deepLearning.py $epoch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user