Param added to jenkinsfile
All checks were successful
444507-training/pipeline/head This commit looks good

This commit is contained in:
Adam Wojdyla 2022-05-01 20:55:08 +02:00
parent c823e0e4fb
commit be740d8b71

View File

@ -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"
}
}
}