copy artifacts metrics
All checks were successful
s434765-evaluation/pipeline/head This commit looks good

This commit is contained in:
Karolina Oparczyk 2021-05-20 18:34:51 +02:00
parent 37e0a59760
commit 89f18e3061
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ node {
} }
stage('Clone repo') { stage('Clone repo') {
docker.image("karopa/ium:15").inside { docker.image("karopa/ium:16").inside {
stage('Test') { stage('Test') {
checkout([$class: 'GitSCM', branches: [[name: '*/evaluation']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]]) 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") copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET")

View File

@ -37,5 +37,5 @@ for (pred, test) in zip(prediction_denormalized, y_test.values):
error = mean_squared_error(y_test, prediction_denormalized) error = mean_squared_error(y_test, prediction_denormalized)
print(error) print(error)
with open("rmse.txt", "w") as file: with open("rmse.txt", "a") as file:
file.write(str(error) + "\n") file.write(str(error) + "\n")