Skip to content

Add Grep Parsing capability to Warnings Plugin - #3392

Draft
akash-manna-sky wants to merge 11 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-53014
Draft

Add Grep Parsing capability to Warnings Plugin#3392
akash-manna-sky wants to merge 11 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-53014

Conversation

@akash-manna-sky

Copy link
Copy Markdown
Contributor

Add Grep Parsing capability to Warnings Plugin

Fixes #2673

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed


private Pattern compile(final String regexp) {
try {
return Pattern.compile(regexp);
* @return the validation result
*/
@POST
public FormValidation doCheckIncludePattern(@AncestorInPath final AbstractProject<?, ?> project,
* @return the validation result
*/
@POST
public FormValidation doCheckExcludePattern(@AncestorInPath final AbstractProject<?, ?> project,
* @return the validation result
*/
@POST
public FormValidation doCheckRegexp(@AncestorInPath final BuildableItem project,
* @return validation result
*/
@POST
public FormValidation doCheckExample(@AncestorInPath final BuildableItem project,
@uhafner uhafner added the feature New features label Jul 24, 2026
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

☀️   Quality Monitor

Tests

   JUnit   Unit Tests: ✅ successful — 106 passed $\color{green}{\textsf{(+14)}}$, 2 skipped $\textsf{(±0)}$
   🚀   Integration Tests: ✅ successful — 524 passed $\color{green}{\textsf{(+14)}}$, 10 skipped $\textsf{(±0)}$
   ⛔   Architecture Tests: ✅ successful — 15 passed $\textsf{(±0)}$

Coverage for New Code

   〰️   Line Coverage: 63.58% — 55 missed lines
   ➰   Branch Coverage: 37.50% — 25 missed branches

Coverage for Whole Project

   〰️   Line Coverage: 80.28% $\color{red}{\textsf{(-0.51)}}$ — 1260 missed lines
   ➰   Branch Coverage: 64.47% $\color{red}{\textsf{(-0.64)}}$ — 501 missed branches

Style

   CheckStyle   CheckStyle: No warnings $\textsf{(±0)}$
   PMD   PMD: No warnings $\textsf{(±0)}$
   ☕   Java Compiler: No warnings $\textsf{(±0)}$

Bugs

   SpotBugs   SpotBugs: No bugs $\textsf{(±0)}$
   🐛   Error Prone: No bugs $\textsf{(±0)}$

Vulnerabilities

   🛡️   OWASP Dependency Check: 239 vulnerabilities $\color{green}{\textsf{(+239)}}$ — error: 17, high: 62, normal: 153, low: 7

Software Metrics

   🌀   Cyclomatic Complexity: 2703 (total)
   💭   Cognitive Complexity: 886 (total)
   ➿   N-Path Complexity: 3076 (total)
   📏   Lines of Code: 32888 (total)
   📝   Non Commenting Source Statements: 10936 (total)
   🔗   Class Cohesion: 100.00% (maximum)
   ⚖️   Weight of Class: 100.00% (maximum)

📌 Reference Results

Delta reports computed against the reference results of 05fe6b5 in workflow run 31316803482.

🚦 Quality Gates

Overall Status: ❗ UNSTABLE

✅ Passed Gates

  • ✅ Overall Tests Success Rate: 100.00 >= 100.00
  • ✅ Potential Bugs in Whole Project: 0.00 <= 0.00
  • ✅ Style Violation in Whole Project: 0.00 <= 0.00

❌ Failed Gates

  • ❌ Line Coverage in New Code: 63.58 >= 90.00
  • ❌ Branch Coverage in New Code: 37.50 >= 90.00

Created by Quality Monitor v4.15.0 (#82d77af). More details are shown in the GitHub Checks Result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JENKINS-53014] Add Grep Parsing capability to Warnings Plugin

3 participants