ium_444517/Jenkinsfile_train
Kamila da75fd1aeb
All checks were successful
s444517-training/pipeline/head This commit looks good
correcting Jenkinsfile
2022-05-03 11:31:40 +02:00

36 lines
770 B
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()
}
}
stage('Get data save artifacts') {
steps {
sh 'python3 ./nn_train.py $EPOCH'
archiveArtifacts artifacts: 'my_model/saved_model.pb'
}
}
}
}