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 {