update jenkisfile lab 6 zad 1
This commit is contained in:
parent
b3275f3a85
commit
3b697560da
@ -18,8 +18,7 @@ pipeline{
|
|||||||
|
|
||||||
stage('Train model'){
|
stage('Train model'){
|
||||||
steps{
|
steps{
|
||||||
def epochs = "${parameters.EPOCHS}"
|
sh "docker run -v ${env.WORKSPACE}/dane:/app/dane ium python3 /app/DL-model.py --epochs ${params.EPOCHS}"
|
||||||
sh "docker run -v ${env.WORKSPACE}/dane:/app/dane ium python3 /app/DL-model.py --epochs ${epochs}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user