pipeline { agent { dockerfile true } stages { stage('Checkout') { steps { git 'https://git.wmi.amu.edu.pl/s452097/s452097-plots' } } stage('Copy all results'){ steps { copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's452097-metrics', selector: lastSuccessful() } } stage('Create plots'){ steps { sh('chmod +x ./plotGenerator.sh') sh label: 'count', script: './plotGenerator.sh' archiveArtifacts 'wer.png' archiveArtifacts 'srr.png' } } } }