ium_444517/Jenkinsfile_eval
Kamila 90c51a6cf2
All checks were successful
s444517-training/pipeline/head This commit looks good
s444517-evaluation/pipeline/head This commit looks good
correction to Jenkinsfile
2022-05-03 13:16:34 +02:00

38 lines
1.0 KiB
Plaintext

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 {
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-create-dataset', selector: lastSuccessful()
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-training/master', selector: lastSuccessful()
copyArtifacts fingerprintArtifacts: true, projectName: 's444517-evaluation/master', selector: lastSuccessful(), optional: true
}
}
stage('Get data save artifacts') {
steps {
sh 'python3 ./nn_train_eval.py'
archiveArtifacts artifacts: 'my_model/saved_model.pb, metrics.txt, output.jpg'
}
}
}
}