Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12142

Task plugin logs each time it doesn't have to do anything

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: tasks-plugin
    • Labels:
      None
    • Environment:
      Task Scanner Plugin 4.24
    • Similar Issues:

      Description

      The plugin logs - for my taste - a little bit too verbose that it doesn't have do anything:

      10:10:49 [INFO] [clean:clean

      {execution: default-clean}

      ]
      10:10:49 [INFO] Deleting xyz
      10:15:37 [TASKS] Scanning folder 'xyz' for files matching the pattern '*/.java'
      [TASKS] Found 0 files to scan for tasks 10:15:37 Found 0 open tasks.
      10:15:37 [TASKS] Using set difference to compute new warnings 10:15:37 [TASKS] Not changing build status, since no threshold has been exceeded
      10:15:37[INFO] Preparing source:jar
      10:15:39 [INFO] [buildnumber:create

      {execution: default-execution-id}

      ]
      ...
      10:15:39 [TASKS] Skipping maven reporter: there is already a result available.
      10:15:40 [JENKINS] Archiving disabled - not archiving xyz
      10:15:40 [INFO] [source:jar

      {execution: default-cli}

      ]
      10:15:40 [TASKS] Skipping maven reporter: there is already a result available.
      10:15:40 [INFO] [architecture-rules:check-rules

      {execution: default}

      ]
      10:15:40 [TASKS] Skipping maven reporter: there is already a result available.
      10:15:40 [INFO] [buildnumber:create

      {execution: default-execution-id}

      ]
      10:15:40 [TASKS] Skipping maven reporter: there is already a result available.
      10:15:40 [debug] execute contextualize

      I.e. it seems to log for each mojo execution - after the 1st - on each module that it doesn't have to do anything anymore.
      Could you remove these please as they IMHO only unnecessary inflate the build console?

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          http://jenkins-ci.org/commit/analysis-core-plugin/c7639199cbb31009bd68e98c0a909f3001dbd789
          Log:
          [FIXED JENKINS-12142] Removed logging statement if reporter already has
          been called in a previous maven goal.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java http://jenkins-ci.org/commit/analysis-core-plugin/c7639199cbb31009bd68e98c0a909f3001dbd789 Log: [FIXED JENKINS-12142] Removed logging statement if reporter already has been called in a previous maven goal.
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #5038
          [FIXED JENKINS-12142] Removed logging statement if reporter already has

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #5038 [FIXED JENKINS-12142] Removed logging statement if reporter already has Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6379
          [FIXED JENKINS-12142] Removed logging statement if reporter already has

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6379 [FIXED JENKINS-12142] Removed logging statement if reporter already has Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6390
          [FIXED JENKINS-12142] Removed logging statement if reporter already has

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6390 [FIXED JENKINS-12142] Removed logging statement if reporter already has Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6417
          [FIXED JENKINS-12142] Removed logging statement if reporter already has

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6417 [FIXED JENKINS-12142] Removed logging statement if reporter already has Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6517
          [FIXED JENKINS-12142] Removed logging statement if reporter already has

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6517 [FIXED JENKINS-12142] Removed logging statement if reporter already has Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Hide
          drulli Ulli Hafner added a comment -

          Integrated in Jenkins Analysis Plug-ins (Compile) #381
          [FIXED JENKINS-12142] Removed logging statement if reporter already has (Revision c7639199cbb31009bd68e98c0a909f3001dbd789)

          Result = SUCCESS

          Show
          drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #381 [FIXED JENKINS-12142] Removed logging statement if reporter already has (Revision c7639199cbb31009bd68e98c0a909f3001dbd789) Result = SUCCESS
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #10407
          [FIXED JENKINS-12142] Removed logging statement if reporter already has (Revision c7639199cbb31009bd68e98c0a909f3001dbd789)

          Result = SUCCESS
          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #10407 [FIXED JENKINS-12142] Removed logging statement if reporter already has (Revision c7639199cbb31009bd68e98c0a909f3001dbd789) Result = SUCCESS Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              kutzi kutzi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: