[JIRA] [junit-attachments-plugin] (JENKINS-28784) junit-attachments plugin not compatible with Pipeline

2016-06-13 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-28784 
 
 
 
  junit-attachments plugin not compatible with Pipeline  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jesse Glick 
 
 
 
 
 
 
 
 
 
 The JUnit-attachments-plugin doesn appear to be compatible with Workflow jobs.Test for reproducing the issue:Create the following Workflow job:{code :groovy }node ('master') {  sh ''' mkdir -p test cd test wget http://lazerbrody.typepad.com/photos/uncategorized/2007/03/22/mammy_yokum_broigges.jpg cat << EOF > test.xml  [[ATTACHMENT|test/mammy_yokum_broigges.jpg]]   For no good reason!EOF''' // step([$class: 'JUnitResultArchiver', testResults: 'test/*.xml'])  step([$class: 'JUnitResultArchiver', testDataPublishers: [[$class: 'AttachmentPublisher']], testResults: 'test/*.xml'])}{code}Observed result:{noformat}Started by user thomasRunning: Allocate node : StartRunning on master in /var/lib/jenkins/workspace/WFJUnitPostBuildRunning: Allocate node : Body : StartRunning: Shell Script[WFJUnitPostBuild] Running shell script+ mkdir -p test+ cd test+ wget http://lazerbrody.typepad.com/photos/uncategorized/2007/03/22/mammy_yokum_broigges.jpg--2015-06-07 13:07:51--  http://lazerbrody.typepad.com/photos/uncategorized/2007/03/22/mammy_yokum_broigges.jpgResolving lazerbrody.typepad.com (lazerbrody.typepad.com)... 190.93.247.9, 141.101.115.9, 190.93.245.9, ...Connecting to lazerbrody.typepad.com (lazerbrody.typepad.com)|190.93.247.9|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 18510 (18K) [image/jpeg]Saving to: ‘mammy_yokum_broigges.jpg’ 0K ..    100%  787K=0,02s2015-06-07 13:07:52 (787 KB/s) - ‘mammy_yokum_broigges.jpg.1’ saved [18510/18510]+ catRunning: General Build StepRunning: Allocate node : Body : EndRunning: Allocate node : EndRunning: End of Workflowjava.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.WildcardTypeImpl cannot be cast to java.lang.Class at org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:224) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.mapList(DescribableHelper.java:263) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:248) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.buildArguments(DescribableHelper.java:186) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.injectSetters(DescribableHelper.java:308) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.instantiate(DescribableHelper.java:93) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:236) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.buildArguments(DescribableHelper.java:186) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.instantiate(DescribableHelper.java:91) at 

[JIRA] [junit-attachments-plugin] (JENKINS-28784) junit-attachments plugin not compatible with Pipeline

2016-06-13 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andrew Bayer started work on  JENKINS-28784 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Andrew Bayer 
 
 
 

Status:
 
 Open In Progress 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [junit-attachments-plugin] (JENKINS-28784) junit-attachments plugin not compatible with Pipeline

2016-06-13 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andrew Bayer assigned an issue to Andrew Bayer 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
Renamed the JIRA, assigned it to me - I don't know about the wildcard errors, but I do know the other compatibility errors, so I'll work on that. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-28784 
 
 
 
  junit-attachments plugin not compatible with Pipeline  
 
 
 
 
 
 
 
 
 

Change By:
 
 Andrew Bayer 
 
 
 

Summary:
 
 JUnitResultArchiver testDataPublishers junit-attachments plugin  not compatible with  Workflow  Pipeline 
 
 
 

Component/s:
 
 junit-attachments-plugin 
 
 
 

Component/s:
 
 junit-plugin 
 
 
 

Assignee:
 
 Jesse Glick Andrew Bayer 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)