[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title centic updated JENKINS-56918 Jenkins / JENKINS-56918 Groovy Class Files Not Copied Over To View Code Coverage Change By: centic Status: Fixed but Unreleased Resolved Released As: 3.0.5 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198593.1554476525000.5954.1579955760828%40Atlassian.JIRA.
[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title centic edited a comment on JENKINS-56918 Re: Groovy Class Files Not Copied Over To View Code Coverage I adjusted the default to "**/*.java,**/*.groovy,**/*. gs kt,**/*.kts " for the next release, will probably be called 3.0.5 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198593.1554476525000.3658.1569268980377%40Atlassian.JIRA.
[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title centic updated JENKINS-56918 I adjusted the default to "*/.java,*/.groovy,*/.gs" for the next release, will probably be called 3.0.5 Jenkins / JENKINS-56918 Groovy Class Files Not Copied Over To View Code Coverage Change By: centic Status: Open Fixed but Unreleased Assignee: Ognjen Bubalo centic Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title Pavol Briatka edited a comment on JENKINS-56918 Re: Groovy Class Files Not Copied Over To View Code Coverage Hello, I think I had a similar issue. I could not see Kotlin files in Jenkins when I checked Jacoco coverage (error message: _"Error while reading the sourcefile!"_) but I managed to solve it by putting the following line to my Jenkinsfile jacoco step configuration:{code:java} sourceInclusionPattern: '**/*.*' \ {code} Now both Java and Kotlin files are showed in reports. I checked the source code for JacocoPublisher where I found that the default value for String sourceInclusionPattern is indeed \{code: set to copy only java }"**/*.java"\{code} files but you can rewrite it either in post-build actions tab in Jenkins or in your Jenkinsfile (depending on your implementation). The above mentioned implementation will include all files from your source code (defined as sourcePattern) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198593.1554476525000.20269.1557246120233%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title Pavol Briatka edited a comment on JENKINS-56918 Re: Groovy Class Files Not Copied Over To View Code Coverage Hello, I think I had a similar issue. I could not see Kotlin files in Jenkins when I checked Jacoco coverage (error message: _"Error while reading the sourcefile!"_) but I managed to solve it by putting the following line to my Jenkinsfile jacoco step configuration: {code:java} sourceInclusionPattern: '**/*.*' \{code} Now both Java and Kotlin files are showed in reports. I checked the source code for JacocoPublisher where I found that the default value for String sourceInclusionPattern is indeed \{code:java} "**/*.java" \{code} but you can rewrite it either in post-build actions tab in Jenkins or in your Jenkinsfile (depending on your implementation).The above mentioned implementation will include all files from your source code (defined as sourcePattern) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198593.1554476525000.20266.1557246000295%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title Pavol Briatka commented on JENKINS-56918 Re: Groovy Class Files Not Copied Over To View Code Coverage Hello, I think I had a similar issue. I could not see Kotlin files in Jenkins when I checked Jacoco coverage (error message: "Error while reading the sourcefile!") but I managed to solve it by putting the following line to my Jenkinsfile jacoco step configuration: sourceInclusionPattern: '*/.*' Now both Java and Kotlin files are showed in reports. I checked the source code for JacocoPublisher where I found that the default value for String sourceInclusionPattern is indeed "*/.java" but you can rewrite it either in post-build actions tab in Jenkins or in your Jenkinsfile (depending on your implementation). The above mentioned implementation will include all files from your source code (defined as sourcePattern) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198593.1554476525000.20240.1557244080214%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title John Slater updated an issue Jenkins / JENKINS-56918 Groovy Class Files Not Copied Over To View Code Coverage Change By: John Slater Priority: Minor Major Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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] (JENKINS-56918) Groovy Class Files Not Copied Over To View Code Coverage
Title: Message Title John Slater created an issue Jenkins / JENKINS-56918 Groovy Class Files Not Copied Over To View Code Coverage Issue Type: Bug Assignee: Ognjen Bubalo Components: jacoco-plugin Created: 2019-04-05 15:02 Priority: Minor Reporter: John Slater As part of JENKINS-38604 a change was made to only copy over .java files. However this means any files with the .groovy extension can't be viewed. .groovy should be added to the list of make this a configurable option. Add Comment This