You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by lewis john mcgibbney <le...@gmail.com> on 2011/09/18 21:40:53 UTC

Archiving artefacts and publishing JUnit test reports and Javadoc

Good Evening,

I haven't been able to find documentation on any of the above and I am not
having much luck configuring any of these three within the Nutch-branch-1.4
nightly build. You can see that build #8 [1] failed as the file pattern was
consistently incorrect for all of the properties.

It would be great if we configure something along the lines of

Archive the artefacts:
branch-1.4/build/*.tar.gz

Publish JUnit test result report:
branch-1.4/build/test/*.xml

Publish Javadoc:
branch-1.4/build/docs/api

For the time being I've disabled all of tehe above and build #9 is back to
normal but it would be great if we could get some help to get this
configured correctly.

Thanks for any help.

[1]
https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-branch-1.4/8/console

-- 
*Lewis*

Re: Archiving artefacts and publishing JUnit test reports and Javadoc

Posted by lewis john mcgibbney <le...@gmail.com>.
Thank you both for the pointers.


> Hopefully this will do it.
> We'll see after the next build...
>
>
>
> --
> Dennis Lundberg
>



-- 
*Lewis*

Re: Archiving artefacts and publishing JUnit test reports and Javadoc

Posted by Dennis Lundberg <de...@apache.org>.
Hi

I have enabled the publishing of Javadoc and JUnit test result report
for Nutch-trunk.

You do this in the configuration of the project.
Under "Post-build Actions" you will find a couple of checkboxes for this:

Check "Publish Javadoc" and fill in the relative path to the directory
where your Javadocs are generated to, in your case "trunk/build/docs/api".

Check "Publish JUnit test result report" and fill in a Fileset
specification for the path to your JUnit reports, in your case I used
"trunk/build/test/*.xml".

Hopefully this will do it.
We'll see after the next build...


On 2011-09-24 14:32, lewis john mcgibbney wrote:
> Hi builds@,
> 
> I'm still not having much luck trying to get the following functionality
> sorted out on our CI build. The latest build is here [1], but it would be
> great if we could add the functionality of archiving artefacts, publishing
> JUnit test result report and publish the Javadocs (which by the looks of it
> is already being done!).
> 
> Thanks in advance for any pointers or help.
> 
> Lewis
> 
> BUILD SUCCESSFUL
> Total time: 10 minutes 30 seconds
> Archiving artifacts
> ERROR: No artifacts found that match the file pattern
> "trunk/build/*.tar.gz". Configuration error?ERROR
> <http://stacktrace.jenkins-ci.org/search?query=ERROR>:
> 'trunk/build/*.tar.gz' doesn't match anything: 'trunk' exists but not
> 'trunk/build/*.tar.gz'
> Build step 'Archive the artifacts' changed build result to FAILURE
> Recording test results
> Publishing Javadoc
> Sending e-mails to: dev@nutch.apache.org lewis.mcgibbney@gmail.com
> dogacan@gmail.com markus.jelsma@openindex.io mattmann@jpl.nasa.gov
> ab@getopt.org apache@digitalpebble.com
> Finished: FAILURE
> 
> [1]
> https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-trunk/1608/console
> 
> On Sun, Sep 18, 2011 at 8:40 PM, lewis john mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
> 
>> Good Evening,
>>
>> I haven't been able to find documentation on any of the above and I am not
>> having much luck configuring any of these three within the Nutch-branch-1.4
>> nightly build. You can see that build #8 [1] failed as the file pattern was
>> consistently incorrect for all of the properties.
>>
>> It would be great if we configure something along the lines of
>>
>> Archive the artefacts:
>> branch-1.4/build/*.tar.gz
>>
>> Publish JUnit test result report:
>> branch-1.4/build/test/*.xml
>>
>> Publish Javadoc:
>> branch-1.4/build/docs/api
>>
>> For the time being I've disabled all of tehe above and build #9 is back to
>> normal but it would be great if we could get some help to get this
>> configured correctly.
>>
>> Thanks for any help.
>>
>> [1]
>> https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-branch-1.4/8/console
>>
>> --
>> *Lewis*
>>
>>
> 
> 


-- 
Dennis Lundberg

Re: Archiving artefacts and publishing JUnit test reports and Javadoc

Posted by Dennis Lundberg <de...@apache.org>.
Hi

The archiving issue seems to be a matter of (mis)configuration. Here
what I see at the end of the log:


tar:
      [tar] Building tar:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/dist/nutch-2011-09-24_12-10-23.tar.gz

nightly:

BUILD SUCCESSFUL
Total time: 10 minutes 30 seconds
Archiving artifacts
ERROR: No artifacts found that match the file pattern
"trunk/build/*.tar.gz". Configuration error?
ERROR: 'trunk/build/*.tar.gz' doesn't match anything: 'trunk' exists but
not 'trunk/build/*.tar.gz'
Build step 'Archive the artifacts' changed build result to FAILURE


Seems that you need to configure archiving in your Jenkins job to use
this pattern instead:
  'trunk/dist/*.tar.gz'



On 2011-09-24 14:32, lewis john mcgibbney wrote:
> Hi builds@,
> 
> I'm still not having much luck trying to get the following functionality
> sorted out on our CI build. The latest build is here [1], but it would be
> great if we could add the functionality of archiving artefacts, publishing
> JUnit test result report and publish the Javadocs (which by the looks of it
> is already being done!).
> 
> Thanks in advance for any pointers or help.
> 
> Lewis
> 
> BUILD SUCCESSFUL
> Total time: 10 minutes 30 seconds
> Archiving artifacts
> ERROR: No artifacts found that match the file pattern
> "trunk/build/*.tar.gz". Configuration error?ERROR
> <http://stacktrace.jenkins-ci.org/search?query=ERROR>:
> 'trunk/build/*.tar.gz' doesn't match anything: 'trunk' exists but not
> 'trunk/build/*.tar.gz'
> Build step 'Archive the artifacts' changed build result to FAILURE
> Recording test results
> Publishing Javadoc
> Sending e-mails to: dev@nutch.apache.org lewis.mcgibbney@gmail.com
> dogacan@gmail.com markus.jelsma@openindex.io mattmann@jpl.nasa.gov
> ab@getopt.org apache@digitalpebble.com
> Finished: FAILURE
> 
> [1]
> https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-trunk/1608/console
> 
> On Sun, Sep 18, 2011 at 8:40 PM, lewis john mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
> 
>> Good Evening,
>>
>> I haven't been able to find documentation on any of the above and I am not
>> having much luck configuring any of these three within the Nutch-branch-1.4
>> nightly build. You can see that build #8 [1] failed as the file pattern was
>> consistently incorrect for all of the properties.
>>
>> It would be great if we configure something along the lines of
>>
>> Archive the artefacts:
>> branch-1.4/build/*.tar.gz
>>
>> Publish JUnit test result report:
>> branch-1.4/build/test/*.xml
>>
>> Publish Javadoc:
>> branch-1.4/build/docs/api
>>
>> For the time being I've disabled all of tehe above and build #9 is back to
>> normal but it would be great if we could get some help to get this
>> configured correctly.
>>
>> Thanks for any help.
>>
>> [1]
>> https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-branch-1.4/8/console
>>
>> --
>> *Lewis*
>>
>>
> 
> 


-- 
Dennis Lundberg

Re: Archiving artefacts and publishing JUnit test reports and Javadoc

Posted by lewis john mcgibbney <le...@gmail.com>.
Hi builds@,

I'm still not having much luck trying to get the following functionality
sorted out on our CI build. The latest build is here [1], but it would be
great if we could add the functionality of archiving artefacts, publishing
JUnit test result report and publish the Javadocs (which by the looks of it
is already being done!).

Thanks in advance for any pointers or help.

Lewis

BUILD SUCCESSFUL
Total time: 10 minutes 30 seconds
Archiving artifacts
ERROR: No artifacts found that match the file pattern
"trunk/build/*.tar.gz". Configuration error?ERROR
<http://stacktrace.jenkins-ci.org/search?query=ERROR>:
'trunk/build/*.tar.gz' doesn't match anything: 'trunk' exists but not
'trunk/build/*.tar.gz'
Build step 'Archive the artifacts' changed build result to FAILURE
Recording test results
Publishing Javadoc
Sending e-mails to: dev@nutch.apache.org lewis.mcgibbney@gmail.com
dogacan@gmail.com markus.jelsma@openindex.io mattmann@jpl.nasa.gov
ab@getopt.org apache@digitalpebble.com
Finished: FAILURE

[1]
https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-trunk/1608/console

On Sun, Sep 18, 2011 at 8:40 PM, lewis john mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Good Evening,
>
> I haven't been able to find documentation on any of the above and I am not
> having much luck configuring any of these three within the Nutch-branch-1.4
> nightly build. You can see that build #8 [1] failed as the file pattern was
> consistently incorrect for all of the properties.
>
> It would be great if we configure something along the lines of
>
> Archive the artefacts:
> branch-1.4/build/*.tar.gz
>
> Publish JUnit test result report:
> branch-1.4/build/test/*.xml
>
> Publish Javadoc:
> branch-1.4/build/docs/api
>
> For the time being I've disabled all of tehe above and build #9 is back to
> normal but it would be great if we could get some help to get this
> configured correctly.
>
> Thanks for any help.
>
> [1]
> https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-branch-1.4/8/console
>
> --
> *Lewis*
>
>


-- 
*Lewis*