diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..a055678 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +pipeline { + agent {dockerfile true} + stages { + + stage('Copy artifacts'){ + steps { + copyArtifacts filter: filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's416226-metrics', selector: lastSuccessful() + } + } + stage('Plot'){ + steps { + sh('chmod +x ./plot.sh') + sh('./plot.sh') + } + } + stage('Save results'){ + steps { + archiveArtifacts 'srr.png' + archiveArtifacts 'wer.png' + } + } + } +} \ No newline at end of file