diff --git a/Jenkinsfile_plots b/Jenkinsfile_plots index dfb3d3d..639320e 100644 --- a/Jenkinsfile_plots +++ b/Jenkinsfile_plots @@ -11,7 +11,7 @@ pipeline { stage('Draw and save plots') { steps { sh('chmod +x ./draw_plots.sh') - sh('./draw_plots.sh wer.txt srr.txt') + sh('./draw_plots.sh wer srr') archiveArtifacts 'wer.png' archiveArtifacts 'srr.png' } diff --git a/draw_plots.sh b/draw_plots.sh index 2912d05..84eb29e 100644 --- a/draw_plots.sh +++ b/draw_plots.sh @@ -5,6 +5,6 @@ do gnuplot <<- EOF set term png set output "${FILE}.png" - plot "${FILE}" using 1 + plot "${FILE}.txt" using 1 EOF done