Change plot (JenkinsfileEvaluation)
This commit is contained in:
parent
aa45e2b730
commit
cade934db3
@ -51,7 +51,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('CreateArtifacts') {
|
stage('CreateArtifacts') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: 'hp_test_predictions.csv,hp_test_metrics.csv,metrics_plt.png'
|
archiveArtifacts artifacts: 'hp_test_predictions.csv,hp_test_metrics.csv,plot_mae.png, plot_r2.png, plot_rmse.png'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,6 @@ for metric in metrics:
|
|||||||
plt.xlabel('Build Number')
|
plt.xlabel('Build Number')
|
||||||
plt.ylabel(metric)
|
plt.ylabel(metric)
|
||||||
plt.grid(True)
|
plt.grid(True)
|
||||||
plot_file = f'{metric.lower()}_plt.png'
|
plot_file = f'plot_{metric.lower()}.png'
|
||||||
plt.savefig(plot_file)
|
plt.savefig(plot_file)
|
||||||
plt.close()
|
plt.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user