[JIRA] Created: (HUDSON-5649) Attachments are not collected for Maven2 jobs

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list
Attachments are not collected for Maven2 jobs
---------------------------------------------

                 Key: HUDSON-5649
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
             Project: Hudson
          Issue Type: Bug
          Components: junit-attachments
            Reporter: mfriedenhagen
            Assignee: huybrechts


Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mfriedenhagen reassigned HUDSON-5649:
-------------------------------------

    Assignee: mfriedenhagen  (was: huybrechts)

> Attachments are not collected for Maven2 jobs
> ---------------------------------------------
>
>                 Key: HUDSON-5649
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
>             Project: Hudson
>          Issue Type: Bug
>          Components: junit-attachments
>            Reporter: mfriedenhagen
>            Assignee: mfriedenhagen
>
> Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
> Stepping into the code I discovered that in:
> {{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
> {{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mfriedenhagen updated HUDSON-5649:
----------------------------------

    Description:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion.


  was:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.



> Attachments are not collected for Maven2 jobs
> ---------------------------------------------
>
>                 Key: HUDSON-5649
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
>             Project: Hudson
>          Issue Type: Bug
>          Components: junit-attachments
>            Reporter: mfriedenhagen
>            Assignee: mfriedenhagen
>
> Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
> Stepping into the code I discovered that in:
> {{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
> {{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.
> See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mfriedenhagen updated HUDSON-5649:
----------------------------------

    Description:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779


  was:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion.



> Attachments are not collected for Maven2 jobs
> ---------------------------------------------
>
>                 Key: HUDSON-5649
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
>             Project: Hudson
>          Issue Type: Bug
>          Components: junit-attachments
>            Reporter: mfriedenhagen
>            Assignee: mfriedenhagen
>
> Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
> Stepping into the code I discovered that in:
> {{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
> {{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.
> See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
> http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mfriedenhagen updated HUDSON-5649:
----------------------------------

    Environment:
Hudson ver. 1.346
https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/junit-attachments@27575

    Description:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

The actions available in {{build}} are:

{{[hudson.model.CauseAction@1460d4b0, hudson.plugins.mercurial.MercurialTagAction@6e3066a8, hudson.scm.SCMRevisionState$None@2ba3d81c, hudson.maven.reporters.SurefireAggregatedReport@3993f896, hudson.maven.reporters.MavenAggregatedArtifactRecord@68daff7b]}}

none of which is of type {{SurefireReport.class}}.


See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779


  was:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779



> Attachments are not collected for Maven2 jobs
> ---------------------------------------------
>
>                 Key: HUDSON-5649
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
>             Project: Hudson
>          Issue Type: Bug
>          Components: junit-attachments
>         Environment: Hudson ver. 1.346
> https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/junit-attachments@27575
>            Reporter: mfriedenhagen
>            Assignee: mfriedenhagen
>
> Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
> Stepping into the code I discovered that in:
> {{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
> {{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.
> The actions available in {{build}} are:
> {{[hudson.model.CauseAction@1460d4b0, hudson.plugins.mercurial.MercurialTagAction@6e3066a8, hudson.scm.SCMRevisionState$None@2ba3d81c, hudson.maven.reporters.SurefireAggregatedReport@3993f896, hudson.maven.reporters.MavenAggregatedArtifactRecord@68daff7b]}}
> none of which is of type {{SurefireReport.class}}.
> See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
> http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mfriedenhagen updated HUDSON-5649:
----------------------------------

    Description:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
[{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}|http://fisheye.hudson-ci.org/browse/Hudson/trunk/hudson/main/maven-plugin/src/main/java/hudson/maven/MavenTestDataPublisher.java?r=20613#l68]
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

The actions available in {{build}} are:

{{[hudson.model.CauseAction@1460d4b0, hudson.plugins.mercurial.MercurialTagAction@6e3066a8, hudson.scm.SCMRevisionState$None@2ba3d81c, hudson.maven.reporters.SurefireAggregatedReport@3993f896, hudson.maven.reporters.MavenAggregatedArtifactRecord@68daff7b]}}

none of which is of type {{SurefireReport.class}}.


See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779


  was:
Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
Stepping into the code I discovered that in:
{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}
{{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.

The actions available in {{build}} are:

{{[hudson.model.CauseAction@1460d4b0, hudson.plugins.mercurial.MercurialTagAction@6e3066a8, hudson.scm.SCMRevisionState$None@2ba3d81c, hudson.maven.reporters.SurefireAggregatedReport@3993f896, hudson.maven.reporters.MavenAggregatedArtifactRecord@68daff7b]}}

none of which is of type {{SurefireReport.class}}.


See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779



> Attachments are not collected for Maven2 jobs
> ---------------------------------------------
>
>                 Key: HUDSON-5649
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
>             Project: Hudson
>          Issue Type: Bug
>          Components: junit-attachments
>         Environment: Hudson ver. 1.346
> https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/junit-attachments@27575
>            Reporter: mfriedenhagen
>            Assignee: mfriedenhagen
>
> Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
> Stepping into the code I discovered that in:
> [{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}|http://fisheye.hudson-ci.org/browse/Hudson/trunk/hudson/main/maven-plugin/src/main/java/hudson/maven/MavenTestDataPublisher.java?r=20613#l68]
> {{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.
> The actions available in {{build}} are:
> {{[hudson.model.CauseAction@1460d4b0, hudson.plugins.mercurial.MercurialTagAction@6e3066a8, hudson.scm.SCMRevisionState$None@2ba3d81c, hudson.maven.reporters.SurefireAggregatedReport@3993f896, hudson.maven.reporters.MavenAggregatedArtifactRecord@68daff7b]}}
> none of which is of type {{SurefireReport.class}}.
> See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
> http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5649) Attachments are not collected for Maven2 jobs

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136166#action_136166 ]

thedug commented on HUDSON-5649:
--------------------------------

I'm experiencing this too..

> Attachments are not collected for Maven2 jobs
> ---------------------------------------------
>
>                 Key: HUDSON-5649
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5649
>             Project: Hudson
>          Issue Type: Bug
>          Components: junit-attachments
>         Environment: Hudson ver. 1.346
> https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/junit-attachments@27575
>            Reporter: mfriedenhagen
>            Assignee: mfriedenhagen
>
> Currently attachments are only collected for Freestyle-Jobs, not for Maven2 jobs.
> Stepping into the code I discovered that in:
> [{{hudson.maven.MavenTestDataPublisher.perform(AbstractBuild, Launcher, BuildListener)}}|http://fisheye.hudson-ci.org/browse/Hudson/trunk/hudson/main/maven-plugin/src/main/java/hudson/maven/MavenTestDataPublisher.java?r=20613#l68]
> {{build.getAction(SurefireReport.class)}} will return null, so the action is *not* triggered.
> The actions available in {{build}} are:
> {{[hudson.model.CauseAction@1460d4b0, hudson.plugins.mercurial.MercurialTagAction@6e3066a8, hudson.scm.SCMRevisionState$None@2ba3d81c, hudson.maven.reporters.SurefireAggregatedReport@3993f896, hudson.maven.reporters.MavenAggregatedArtifactRecord@68daff7b]}}
> none of which is of type {{SurefireReport.class}}.
> See http://n4.nabble.com/TestAction-not-applicable-for-Maven2-jobs-td1556603.html#a1556603 for the discussion and probably
> http://n4.nabble.com/saving-files-with-builds-td1559779.html#a1559779

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]