From f1138b0f4bf3045828282866f44bd959da1195ea Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sat, 15 May 2021 17:39:56 +0200 Subject: [PATCH] fix jenkinsfile training --- lab5/train/Jenkinsfile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lab5/train/Jenkinsfile b/lab5/train/Jenkinsfile index a13259b..ff0d2a2 100644 --- a/lab5/train/Jenkinsfile +++ b/lab5/train/Jenkinsfile @@ -12,16 +12,14 @@ pipeline { } } stage('docker') { - agent { - dockerfile true - parameters { - buildSelector( - defaultSelector: lastSuccessful(), - description: 'Which build to use for copying artifacts', - name: 'BUILD_SELECTOR') + agent { dockerfile true } + parameters { + buildSelector( + defaultSelector: lastSuccessful(), + description: 'Which build to use for copying artifacts', + name: 'BUILD_SELECTOR') - string(name: 'LEARNING_RATE', defaultValue: '0.0003', description: 'learning rate') - } + string(name: 'LEARNING_RATE', defaultValue: '0.0003', description: 'learning rate') } stages { stage('copyArtifacts') {