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

add Test and fix to Issue 48647 #145

Merged
merged 3 commits into from
Apr 8, 2019
Merged

Conversation

JustABunchOfCode
Copy link
Contributor

https://issues.jenkins-ci.org/browse/JENKINS-48647

when log lines start with a prefix, e.g. "17:4>", it will be removed by regular expression.

@codecov
Copy link

codecov bot commented Apr 3, 2019

Codecov Report

Merging #145 into master will increase coverage by <.01%.
The diff coverage is 62.5%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #145      +/-   ##
============================================
+ Coverage     88.11%   88.11%   +<.01%     
- Complexity     1216     1218       +2     
============================================
  Files           158      158              
  Lines          3903     3904       +1     
  Branches        422      425       +3     
============================================
+ Hits           3439     3440       +1     
+ Misses          309      308       -1     
- Partials        155      156       +1
Impacted Files Coverage Δ Complexity Δ
...a/edu/hm/hafner/analysis/parser/MsBuildParser.java 78.84% <ø> (ø) 15 <0> (ø) ⬇️
src/main/java/edu/hm/hafner/util/TreeString.java 85.41% <62.5%> (+0.31%) 20 <5> (+2) ⬆️

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 7d2bcac...9ec565e. Read the comment docs.

Copy link
Member

@uhafner uhafner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add a new line to the ChangeLog.

@@ -705,6 +705,32 @@ void shouldDetectKeywordsInRegexCaseInsensitive() {
});
}

/**
* Update regular expresion to detect logging prefixes like 17:4>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: expression

is there a JavaDoc warning because of the 17:4>? Maybe you need to wrap that part in a pre tag.

@JustABunchOfCode
Copy link
Contributor Author

Why does src/main/java/edu/hm/hafner/util/TreeString.java impact my PR?

@uhafner uhafner merged commit 829d6f5 into jenkinsci:master Apr 8, 2019
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