Merge branch 'master' of https://git.wmi.amu.edu.pl/s444452/ium_444452 into test
Some checks failed
s444452-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
AdamOsiowy123 2022-05-04 22:23:36 +02:00
commit 58ee419a1b

View File

@ -57,10 +57,15 @@ def notifyBuild(String buildStatus = 'STARTED') {
buildStatus = buildStatus ?: 'SUCCESS'
def subject = "Job: ${env.JOB_NAME}"
def lastline = ""
try {
def filePath = readFile "${WORKSPACE}/neural_network_evaluation.csv"
def lines = filePath.readLines()
def lastline=lines.get(lines.size()-1)
lastline = lines.get(lines.size()-1)
}
catch (e) {
println(e.toString())
}
def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TEST_PARAMS} \n metrics: ${lastline}"