IUM_06 - update models/Jenkinsfile, evaluation/Jenkinsfile

This commit is contained in:
Paweł Łączkowski 2024-04-19 11:48:13 +02:00
parent 2c0a3546d1
commit 697e0ad2df
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@ pipeline {
}
steps {
copyArtifacts(projectName: 's464863-training/main', filter: 'models/model.pth, datasets/test.csv', selector: lastSuccessful())
copyArtifacts(projectName: 's464863-training/main', filter: 'models/model.pth', selector: lastSuccessful())
copyArtifacts(projectName: 'z-s464863-create-dataset', filter: 'datasets/test.csv', selector: lastSuccessful())
copyArtifacts(projectName: 's464863-evaluation/main', filter: 'metrics.csv', selector: lastSuccessful(), optional: true)
}
}

2
models/Jenkinsfile vendored
View File

@ -50,7 +50,7 @@ pipeline {
steps {
sh "chmod +x ./create_model.py"
sh "python3 ./create_model.py"
archiveArtifacts artifacts: 'models/model.pth, datasets/*', onlyIfSuccessful: true
archiveArtifacts artifacts: 'models/model.pth', onlyIfSuccessful: true
build job: 's464863-evaluation/main', wait: false
}
}