pipeline { agent any stages { stage('Copy Archive') { steps { script { step ([$class: 'CopyArtifact', projectName: 'ASR-eval', target: 'Infra']); } } } stage('Run') { steps{ sh 'git checkout' sh 'sh test.sh text.txt' } } } }