I have Job A that call to another Job B
Job B know copy from Job A the artifact.
How I can do copy back of another artifact from Job B to Job A?
Job A
//////////
stage('Validation'){
'Binary Scan':{
build job: 'JOB_B'
},
)
}
Job B
/////////
stage('Copy Artifacts from Job A'){
copyArtifacts filter: 'testz.zip',
fingerprintArtifacts: true,
projectName: currentBuild.upstreamBuilds[0].fullProjectName,
selector: upstream()
}
stage('Do something'){
}
stage('Copy Artifacts back to Job A'){
/////?????????
}