From fad9eebd482b1b253fe78f3aac3b0181dfa38b11 Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sat, 15 May 2021 17:41:29 +0200 Subject: [PATCH] fix jenkinsfile training --- lab5/train/Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lab5/train/Jenkinsfile b/lab5/train/Jenkinsfile index ff0d2a2..2d51c3c 100644 --- a/lab5/train/Jenkinsfile +++ b/lab5/train/Jenkinsfile @@ -1,5 +1,13 @@ pipeline { agent none + 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') + } stages { stage('copy files') { agent any @@ -13,14 +21,6 @@ pipeline { } stage('docker') { 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') - } stages { stage('copyArtifacts') { steps {