[JIRA] (JENKINS-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner updated JENKINS-56484 Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner Status: Fixed but Unreleased Resolved Released As: 5.0.0 (analysis-model and warnings-ng) 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.198085.155206106.21229.1557354005598%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner updated JENKINS-56484 Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner Status: In Progress Fixed but Unreleased Resolution: Fixed 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner started work on JENKINS-56484 Change By: Ulli Hafner Status: Open In Progress 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner assigned an issue to Steve Mokris Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner Assignee: Steve Mokris 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner updated an issue Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner URL: https://github.com/jenkinsci/analysis-model/pull/128 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner updated an issue Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner URL: https://github.com/jenkinsci/analysis-model/pull/128 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner commented on JENKINS-56484 Re: timestamper 1.9 breaks warnings-ng's ability to find source files I see. Then I think that I will try to clean up the console log using various line filters before I hand out the result to the individual parsers (block-scoped is on my todo list, but I need a solution for freestyle jobs anyway). I already have a ConsoleNotesFilter and an AnsiColorFilter is on its way. Seems that I need to add an TimeStamperFilter as well. 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Jesse Glick commented on JENKINS-56484 Re: timestamper 1.9 breaks warnings-ng's ability to find source files Possibly this plugin could pick out filenames from other surrounding text using various algorithms. You could use a block-scoped step where you would be able to intercept process output before other decorations are applied by Jenkins plugins like Timestamper, though as you point out this will do nothing to help cases where decorations are applied by some external tool on the agent such as Maven execution wrappers. 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Jesse Glick commented on JENKINS-56484 Re: timestamper 1.9 breaks warnings-ng's ability to find source files There is apparently a TimestamperAPI.read method which no longer works (and has no test coverage that I know of). 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Jesse Glick edited a comment on JENKINS-56484 Re: timestamper 1.9 breaks warnings-ng's ability to find source files There is apparently a {{TimestamperAPI.read}} method which no longer works (and has no test coverage that I know of) , though I guess you are looking for something like the opposite which AFAIK does not exist . 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner assigned an issue to Unassigned Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner Component/s: analysis-model Component/s: warnings-ng-plugin Labels: help-wanted newbie-friendly Assignee: Ulli Hafner 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner updated an issue Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files This is not related to the timestamper plugin in general. It also happens if e.g. warnings are reported using a colored maven output. 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Ulli Hafner assigned an issue to Ulli Hafner See discussion in https://github.com/jenkinsci/analysis-model/pull/118. Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Ulli Hafner Component/s: timestamper-plugin Assignee: Steven G Brown Ulli Hafner 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-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Steve Mokris updated an issue Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Change By: Steve Mokris In timestamper 1.9, the [log format was changed|https://plugins.jenkins.io/timestamper#Timestamper-1.9(2019-02-07)]. When I enable timestamper on a pipeline job, then scan it with warnings-ng, it detects errors but incorrectly parses the filename — it considers the timestamp to be part of the filename.To reproduce the issue, install both plugins and run this pipeline job:{code:java}node {timestamps {sh """echo '#error This is an error.' > test.cclang test.c || true"""recordIssues tools: [clang(id: 'clang', name: 'clang')]}}{code}and the console log says:{code:java}00:00:01.047 test.c:1:2: error: This is an error.…00:00:06.276 [clang] [ERROR] Can't resolve absolute paths for some files:00:00:06.276 [clang] [ERROR] - [2019-03-08T15:46:53.268Z] test.c00:00:06.276 [clang] [ERROR] Can't create fingerprints for some files:00:00:06.276 [clang] [ERROR] - '[2019-03-08T15:46:53.268Z] test.c', IO exception has been thrown: java.nio.file.NoSuchFileException: [2019-03-08T15:46:53.268Z] test.c{code} 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 "Jenkin
[JIRA] (JENKINS-56484) timestamper 1.9 breaks warnings-ng's ability to find source files
Title: Message Title Steve Mokris created an issue Jenkins / JENKINS-56484 timestamper 1.9 breaks warnings-ng's ability to find source files Issue Type: Bug Assignee: Steven G Brown Components: timestamper-plugin, warnings-ng-plugin Created: 2019-03-08 16:04 Environment: Jenkins 2.166 timestamper-plugin 1.9 warnings-ng-plugin 3.0.3 Priority: Major Reporter: Steve Mokris In timestamper 1.9, the log format was changed. When I enable timestamper on a pipeline job, then scan it with warnings-ng, it detects errors but incorrectly parses the filename — it considers the timestamp part of the filename. To reproduce the issue, install both plugins and run this pipeline job: node { timestamps { sh """ echo '#error This is an error.' > test.c clang test.c || true """ recordIssues tools: [clang(id: 'clang', name: 'clang')] } } and the console log says: 00:00:01.047 test.c:1:2: error: This is an error. … 00:00:06.276 [clang] [ERROR] Can't resolve absolute paths for some files: 00:00:06.276 [clang] [ERROR] - [2019-03-08T15:46:53.268Z] test.c 00:00:06.276 [clang] [ERROR] Can't create fingerprints for some files: 00:00:06.276 [clang] [ERROR] - '[2019-03-08T15:46:53.268Z] test.c', IO exception has been thrown: java.nio.file.NoSuchFileExcep