ium_444517/Jenkinsfile_train
Kamila 599b1be807
Some checks failed
s444517-training/pipeline/head This commit looks good
s444517-evaluation/pipeline/head There was a failure building this commit
Task 2 Part 2
2022-05-03 18:41:33 +02:00

41 lines
969 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, results.txt'
}
}
}
post {
always {
emailext body: "${currentBuild.currentResult}", subject: 's444517_build_status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
}
}
}