ium_444517/Jenkinsfile_eval

38 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-05-03 12:59:33 +02:00
pipeline {
agent {
dockerfile true
}
parameters {
string(
defaultValue: '200',
description: 'number of epochs',
name: 'EPOCH'
)
}
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
}
}
stage('Copy from different Pipeline') {
steps {
2022-05-03 13:06:38 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-create-dataset', selector: lastSuccessful()
2022-05-03 13:09:21 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-training/master', selector: lastSuccessful()
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-evaluation/master', selector: lastSuccessful(), optional: true
2022-05-03 12:59:33 +02:00
}
}
stage('Get data save artifacts') {
steps {
sh 'python3 ./nn_train_eval.py'
2022-05-03 13:16:34 +02:00
archiveArtifacts artifacts: 'my_model/saved_model.pb, metrics.txt, output.jpg'
2022-05-03 12:59:33 +02:00
}
}
}
}