pipeline { agent { dockerfile true } stages { stage('Stage 1') { steps { git 'https://git.wmi.amu.edu.pl/s437843/s437843-mlworkshops-new' copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's437843-metrics', selector: lastSuccessful() } } stage('Stage 2'){ steps{ sh('chmod +x ./wykresy.sh') sh('./wykresy.sh wer srr') archiveArtifacts 'wer.png' archiveArtifacts 'srr.png' } } } }