The problem was discovered... Someone deleted the project name from the job 
configuration.

The problem is:

<project></project>

Should have had something like:

<project>myproject</project>

Bob

From: [email protected] 
[mailto:[email protected]] On Behalf Of Bob Bick
Sent: Monday, December 30, 2013 11:10 AM
To: [email protected]
Subject: Copy artifact plugin: incorrect project name or permission settings

Hi,

Background

A downstream Jenkins job copies a build artifact from an upstream job using:

    <hudson.plugins.copyartifact.CopyArtifact 
plugin="[email protected]<mailto:[email protected]>">
      <project></project>
      <filter></filter>
      <target>target</target>
      <selector class="hudson.plugins.copyartifact.TriggeredBuildSelector"/>
      <flatten>true</flatten>
    </hudson.plugins.copyartifact.CopyArtifact>

The upstream job that triggered the downstream job has a build artifact 
associated with it.

Problem

The downstream job is getting this error:

Unable to find project for artifact copy:
This may be due to incorrect project name or permission settings; see help for 
project name in job configuration.
Build step 'Copy artifacts from another project' marked build as failure
Finished: FAILURE

Does anyone have insight into what could be causing this issue? I am pulling my 
(already thinning) hair on this issue.

Thanks in advance.
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.
--
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]<mailto:[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to