Hi Bob,

the plugin is at the moment buggy...
I learned of 2 triggers for this behaviour.
The first is very inconsistent: If the triggered job is located on a 
different machine as the parent job
Second is occurring always: *Which build: Upstream build that triggered 
this job
*The second trigger fail my build always. And this is extraordinary 
annoying as I have to select a strategy that is prone to errors (Last 
successful build) if I want to keep the functionality...

Take care
Jan

Am Donnerstag, 24. Mai 2012 20:02:12 UTC+2 schrieb Bob Dixon:
>
>    I'm trying to create a single promotion job for use by the Promoted 
> Builds plugin that can promote builds from more than one project.
>  
>   I need the artifacts from a Windows build so I can run the promotion on 
> a Unix machine, so I'm trying to use the Copy Artifacts plugin in the 
> promotion job.
>  
>   I need the project name of the build being promoted, so I tried 
> triggering a parameterized build with the promotion plugin and setting a 
> parameter to $PROMOTED_JOB_NAME.  I know the parameter is being passed 
> correctly because I get this error:
>  
> Unable to find project for artifact copy: EC_5.2
> 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
>  
>   If I type "EC_5.2" in the box as the project name it works correctly, as 
> this is the name of the project.
>  
>   Just wondering if it's obvious what I'm doing wrong, or if there's 
> another way to do what I'm trying to do.  I just need one file from the 
> build being promoted.  My next idea is to see if I can do anything with 
> $PROMOTED_URL.  i.e. if I can use the URL to copy from in some way.
>  
>   TIA,
>  
> Bob
>  
>  

Reply via email to