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
Some checks failed
s444452-evaluation/pipeline/head There was a failure building this commit
This commit is contained in:
commit
58ee419a1b
@ -57,10 +57,15 @@ def notifyBuild(String buildStatus = 'STARTED') {
|
||||
buildStatus = buildStatus ?: 'SUCCESS'
|
||||
|
||||
def subject = "Job: ${env.JOB_NAME}"
|
||||
|
||||
def filePath = readFile "${WORKSPACE}/neural_network_evaluation.csv"
|
||||
def lines = filePath.readLines()
|
||||
def lastline=lines.get(lines.size()-1)
|
||||
def lastline = ""
|
||||
try {
|
||||
def filePath = readFile "${WORKSPACE}/neural_network_evaluation.csv"
|
||||
def lines = filePath.readLines()
|
||||
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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user