fix
This commit is contained in:
parent
23a3557697
commit
228a96adfb
@ -57,8 +57,11 @@ def notifyBuild(String buildStatus = 'STARTED') {
|
|||||||
buildStatus = buildStatus ?: 'SUCCESS'
|
buildStatus = buildStatus ?: 'SUCCESS'
|
||||||
|
|
||||||
def subject = "Job: ${env.JOB_NAME}"
|
def subject = "Job: ${env.JOB_NAME}"
|
||||||
def lines= new File("./neural_network_evaluation.csv").readLines()
|
|
||||||
|
def filePath = readFile "${WORKSPACE}/neural_network_evaluation.csv"
|
||||||
|
def lines = filePath.readLines()
|
||||||
def lastline=lines.get(lines.size()-1)
|
def lastline=lines.get(lines.size()-1)
|
||||||
|
|
||||||
def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TEST_PARAMS} \n metrics: ${lastline}"
|
def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TEST_PARAMS} \n metrics: ${lastline}"
|
||||||
|
|
||||||
emailext (
|
emailext (
|
||||||
|
Loading…
Reference in New Issue
Block a user