Quantcast

HTML Publishing archiving at PROJECT level???

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

HTML Publishing archiving at PROJECT level???

mikemil-2
We have been using Jenkins for a while and we have an ant task that generates an html report - a single html file.  Lately we started having some build errors that were tracked back to space issues on the hard drive.   As part of the research, we noticed that Jenkins/HTML Publisher logs this message about "archiving at the PROJECT level" and guess what - it is archiving the entire build folder  and EVERYTHING underneath, which is over 400MB.   

(I thought) I have the HTML Publisher configured to point to a this single html file that I want reported on our build page.   Why is EVERYTHING being archived to our .hudson\jobs\TrunkDaily\htmlreports\Validator_Report folder?

The job is Trunk Daily and we have what we call the 'Validator Report' which generates validator.html - and we want only that copied or shown on the build page but don't really need all this 'archiving'.  

I haven't seen any documentation on the publisher other than the one page in the wiki and that doesn't cover any of this.

Ideas or suggestions???

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: HTML Publishing archiving at PROJECT level???

Gábor Garami

If you want to archive only one html file why do not use the builtin artifact publisher for that?

Garami Gábor
[hidden email]
Skype: hron84
Tel: +36 20 235 9621

Sent from my T-Mobile G2
Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat.

2012.09.13. 18:24, "mikemil" <[hidden email]> ezt írta:
We have been using Jenkins for a while and we have an ant task that generates an html report - a single html file.  Lately we started having some build errors that were tracked back to space issues on the hard drive.   As part of the research, we noticed that Jenkins/HTML Publisher logs this message about "archiving at the PROJECT level" and guess what - it is archiving the entire build folder  and EVERYTHING underneath, which is over 400MB.   

(I thought) I have the HTML Publisher configured to point to a this single html file that I want reported on our build page.   Why is EVERYTHING being archived to our .hudson\jobs\TrunkDaily\htmlreports\Validator_Report folder?

The job is Trunk Daily and we have what we call the 'Validator Report' which generates validator.html - and we want only that copied or shown on the build page but don't really need all this 'archiving'.  

I haven't seen any documentation on the publisher other than the one page in the wiki and that doesn't cover any of this.

Ideas or suggestions???

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: HTML Publishing archiving at PROJECT level???

Richard Bywater-2
In reply to this post by mikemil-2
The configuration only (as far as I'm aware) allows for a directory to
be given so if thats given it should only archive stuff below that
folder.

So I'm guessing that if you put your html file in a folder by itself
you should be able to simply point at that folder.

Richard.

On Fri, Sep 14, 2012 at 4:24 AM, mikemil <[hidden email]> wrote:

> We have been using Jenkins for a while and we have an ant task that
> generates an html report - a single html file.  Lately we started having
> some build errors that were tracked back to space issues on the hard drive.
> As part of the research, we noticed that Jenkins/HTML Publisher logs this
> message about "archiving at the PROJECT level" and guess what - it is
> archiving the entire build folder  and EVERYTHING underneath, which is over
> 400MB.
>
> (I thought) I have the HTML Publisher configured to point to a this single
> html file that I want reported on our build page.   Why is EVERYTHING being
> archived to our .hudson\jobs\TrunkDaily\htmlreports\Validator_Report folder?
>
> The job is Trunk Daily and we have what we call the 'Validator Report' which
> generates validator.html - and we want only that copied or shown on the
> build page but don't really need all this 'archiving'.
>
> I haven't seen any documentation on the publisher other than the one page in
> the wiki and that doesn't cover any of this.
>
> Ideas or suggestions???
>
> Thanks!
Loading...