IUM_06 - models/Jenkinsfile fix, update evaluation/Jenkinsfile

This commit is contained in:
Paweł Łączkowski 2024-04-19 21:27:39 +02:00
parent 2d0850e763
commit 56cc31edd3
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ pipeline {
)
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Build to extract artifacts from',
description: 'Build to extract model artifact from',
name: 'BUILD_SELECTOR'
)
}

2
models/Jenkinsfile vendored
View File

@ -49,7 +49,7 @@ pipeline {
steps {
sh "chmod +x ./create_model.py"
sh "python3 ./create_model.py"
sh "python3 ./create_model.py ${params.epochs} ${params.learning_rate} ${params.weight_decay}"
archiveArtifacts artifacts: 'models/model.pth', onlyIfSuccessful: true
build job: 's464863-evaluation/main', wait: false
}