fix jenkinsfile training
This commit is contained in:
parent
f1138b0f4b
commit
fad9eebd48
16
lab5/train/Jenkinsfile
vendored
16
lab5/train/Jenkinsfile
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user