Hello,

I have a similar process.  Promotions can't archive the artifacts so what I did 
instead was create a second project…

* First project runs.  If successful, it creates an artifact of the 
distribution.
* If promoted, it calls on the second project to perform the task.
* Second project uses the copy plugin to copy the artifact into its workspace 
and perform actions.
* Both first and second project get marked as keep forever.

It means the first project will be bloated with artifacts.  Jenkins is running 
on a server with a 300 Gig HD to account for this (each distribution is one 
gig).

Cheers!

   Anthony

On 2012-07-27, at 9:26 AM, Mauro Molinari wrote:

> Hello,
> I'm quite new to Jenkins and I need some help with archiving artifacts.
> I have my project and I can build it correctly.
> Then, in the project configuration I set:
> 
> Promote builds when...
> Only when manually approved
> Actions: 
> 1) archive the artifacts; files to archive: master/build/distributions/*
> 2) keep build forever
> 
> The first problem I see is that I can't promote a build which was done before 
> I enabled the "Promote builds when..." check box: there's no "Promotion 
> status" link for it. Anyway, that link appears for builds made after the 
> option was enabled, but even if the promotion seems to go successfully, I 
> can't understand where the archived artifacts are put and/or how I may be 
> able to access them.
> 
> In fact, I don't see any new link in the build page, nor in the project page. 
> I just see that my promoted build is marked to be kept forever.
> 
> Thanks in advance for any help,
> Mauro.

Reply via email to