I posted this in Stackoverflow but i thought I'd post it here too, since this is a Jenkins specific group
https://stackoverflow.com/questions/63923156/sharing-files-between-jenkins-pipelines I want to share a file between two different pipelines, running on 2 different nodes. I tried to use the Copy Artifacts plugin like so Pipeline1: node {'linux-0') { stage("Create file") { sh "echo \"hello world\" > hello.txt" archiveArtifacts artifact: 'hello.txt', fingerprint: true } } Pipeline2: node('linux-1') { stage("Copy form first pipeline") { copyArtifacts projectName: 'Pipeline1', fingerprintArtifacts: true, filter: 'hello.txt' } } and I get the following error for Pipeline2 ERROR: Unable to find project for artifact copy: Pipeline1 This may be due to incorrect project name or permission settings; see help for project name in job configuration. Finished: FAILURE What am I missing? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5cca613a-0880-4260-a89a-4b0543ed00e5n%40googlegroups.com.
