pipeline { agent { dockerfile true } stages { stage('Copy Archive') { steps { script { step ([$class: 'CopyArtifact', projectName: 'ASR-eval', target: 'Infra']); sh 'git --version' sh 'git checkout' sh 'python3 script.py' archiveArtifacts artifacts: 'num_lines.txt' sh 'python3 calculate_metrics.py' } } } } }