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

bitbucketpullrequestbuilder produces too much logging

XMLWordPrintable

      The bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder produces a lot of logging to the main jenkins server logs, especially when comparing to other plugins. It looks like most of these logging entries should be logged at debug level.

      For example, in the following, I would only expect the last entry to appear. It is the only line that really has meaningful information for a normal user.

      Mar 03, 2017 9:24:00 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder run
      INFO: Build Start.
      Mar 03, 2017 9:24:00 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository getTargetPullRequests
      INFO: Fetch PullRequests.
      Mar 03, 2017 9:26:00 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder run
      INFO: Build Start.
      Mar 03, 2017 9:26:00 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository getTargetPullRequests
      INFO: Fetch PullRequests.
      Mar 03, 2017 9:26:01 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter instanceByString
      INFO: Filter instance by filter string
      Mar 03, 2017 9:26:01 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter buildFilter
      INFO: Build filter by phrase:
      Mar 03, 2017 9:26:01 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter buildFilter
      INFO: Using filter: AnyFlag
      Mar 03, 2017 9:26:01 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter approved
      INFO: Approve cause: bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketCause@1266dda
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository isBuildTarget
      INFO: Commit 82d03b7bff43#a0f7e5e27b6e0275ce358668ac5d6250 has already been processed
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository filterPullRequestComments
      INFO: Filter PullRequest Comments.
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository isBuildTarget
      INFO: Build target? false [rebuild:false processed:true]
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter instanceByString
      INFO: Filter instance by filter string
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter buildFilter
      INFO: Build filter by phrase:
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter buildFilter
      INFO: Using filter: AnyFlag
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildFilter approved
      INFO: Approve cause: bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketCause@11945ee
      Mar 03, 2017 9:26:02 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository isBuildTarget
      INFO: Commit 81b8be8cc341#a0f7e5e27b6e0275ce358668ac5d6250 has already been processed
      Mar 03, 2017 9:26:03 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository filterPullRequestComments
      INFO: Filter PullRequest Comments.
      Mar 03, 2017 9:26:03 AM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository isBuildTarget
      INFO: Build target? false [rebuild:false processed:true]
      Mar 03, 2017 9:26:07 AM jenkins.branch.MultiBranchProject$BranchIndexing run
      INFO: workflow-event-git #20170303.092600 branch indexing action completed: SUCCESS in 6.6 sec

            damovsky Martin Damovsky
            bartvh Bart Vanhaute
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: