metric
Some checks failed
s444417-training/pipeline/head This commit looks good
s444417-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
s444417 2022-05-07 11:56:13 +02:00
parent 01351f4122
commit ee8c2808d1
2 changed files with 12 additions and 2 deletions

View File

@ -37,10 +37,20 @@ pipeline {
sh "ls -la"
}
}
stage('get eval value') {
steps {
script {
metric = sh (
script: 'trainResults.csv',
returnStdout: true
).trim()
}
}
}
}
post {
always {
emailext body: "${currentBuild.currentResult}", subject: 's444417-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
emailext body: "${currentBuild.currentResult}, (number, loss): ${metric}", subject: 's444417-evaluation build status', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
}
}
}

View File

@ -15,5 +15,5 @@ Zadanie 2
4. skrypt trainScript.py tworzy plota z wczytanych wartości odczytanych z pliku trainResults.csv, natomiast nei ma jak tego podejrzeć w Jenkins
5. projekt odpala się po zakończeniu trenowania jenkinsfile3 build job oraz kopiuje sobie model copyArtifacts z uwzględnieniem brancha master
6. copyArtifacts z s444417-create-dataset
7. parametr BRANCH do wyboru konkretnej gałęzi, buildselector do wybrania builda
7. parametr BRANCH do wyboru konkretnej gałęzi, buildselector do wybrania builda w Jenkins.eval
8. powiadomenie mail wysyłane w pliku Jenkinsfile.eval post emailext