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 {
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user