fix jenkinsfile training

This commit is contained in:
jakubknczny 2021-05-15 17:41:29 +02:00
parent f1138b0f4b
commit fad9eebd48

View File

@ -1,5 +1,13 @@
pipeline { pipeline {
agent none 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 { stages {
stage('copy files') { stage('copy files') {
agent any agent any
@ -13,14 +21,6 @@ pipeline {
} }
stage('docker') { stage('docker') {
agent { dockerfile true } 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 { stages {
stage('copyArtifacts') { stage('copyArtifacts') {
steps { steps {