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