From 37e0a59760d4c0419a7b9195781b5b71963156a6 Mon Sep 17 00:00:00 2001 From: Karolina Oparczyk Date: Thu, 20 May 2021 18:33:30 +0200 Subject: [PATCH] copy artifacts metrics --- JenkinsfileEval | 2 +- evaluate_network.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/JenkinsfileEval b/JenkinsfileEval index c00c44d..36a4ada 100644 --- a/JenkinsfileEval +++ b/JenkinsfileEval @@ -15,7 +15,7 @@ node { } stage('Clone repo') { - docker.image("karopa/ium:14").inside { + docker.image("karopa/ium:15").inside { stage('Test') { checkout([$class: 'GitSCM', branches: [[name: '*/evaluation']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]]) copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET") diff --git a/evaluate_network.py b/evaluate_network.py index 782408a..5cddf14 100644 --- a/evaluate_network.py +++ b/evaluate_network.py @@ -37,5 +37,5 @@ for (pred, test) in zip(prediction_denormalized, y_test.values): error = mean_squared_error(y_test, prediction_denormalized) print(error) -with open("rmse.txt", "a") as file: +with open("rmse.txt", "w") as file: file.write(str(error) + "\n")