Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

56737 - Allow timestamps preceding javac warnings #136

Merged
merged 2 commits into from
Apr 1, 2019

Conversation

TobiasSchaffner
Copy link
Contributor

Related to Issue https://issues.jenkins-ci.org/browse/JENKINS-56737

Javac warnings were not matched if a timestamp preceded the message.

Example:
08:52:34.395 [WARNING] /my/path/to/workspace/src/main/java/my/package/TemporalJsonSeqFiling.java:[86,76] redundant cast to long

Solution:
Warnings with timestamps will now be matched. The preceding word has to to be a arbitrary number of characters that are no whitespace followed by one whitespace. It is not checked if the preceding word is a timestamp at all because of the various timestamp formats that are allowed.

Javac warnings were not matched if a timestamp preceded the message.
Example:
08:52:34.395 [WARNING] /my/path/to/workspace/src/main/.....

Warnings with timestamps will now be matched. The preceeding word has to
to be a arbitrary number of characters that are no whitespace followed
by one whitespace. It is not checked if the preceding word is a
timestamp at all because of the varous timestamp formats that are allowed.
@codecov
Copy link

codecov bot commented Mar 31, 2019

Codecov Report

Merging #136 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #136   +/-   ##
=========================================
  Coverage     87.89%   87.89%           
  Complexity     1211     1211           
=========================================
  Files           157      157           
  Lines          3865     3865           
  Branches        424      424           
=========================================
  Hits           3397     3397           
  Misses          311      311           
  Partials        157      157
Impacted Files Coverage Δ Complexity Δ
...ava/edu/hm/hafner/analysis/parser/JavacParser.java 100% <ø> (ø) 6 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf854ef...32ff569. Read the comment docs.

@uhafner
Copy link
Member

uhafner commented Apr 1, 2019

Can you please add a line to the ChangeLog as well (with links to PR and issue)? See existing entries for an example.

@uhafner uhafner merged commit 8dea934 into jenkinsci:master Apr 1, 2019
@uhafner
Copy link
Member

uhafner commented Apr 1, 2019

Prima!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants