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

git polling performs deprecated call to Run.getEnvironment at hudson.plugins.git.GitSCM.getParamExpandedRepos(GitSCM.java:355)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-plugin
    • None
    • Jenkins 1.580, git plugin 2.2.5

    Description

      My jenkins.log grew by about 1 gigabyte overnight by repeating

      Sep 19, 2014 9:20:00 AM hudson.model.Run getEnvironment
      WARNING: deprecated call to Run.getEnvironment
      at hudson.plugins.git.GitSCM.getParamExpandedRepos(GitSCM.java:355)

      14 times every minute. (Yes, I have a lot of jobs that poll inefficiently. I'll fix that.)

      It would be nice if the git plugin were fixed not to do that any more.

      (Incidentally, it would be even nicer if deprecation warnings were displayed at most once per call site, like in Python.)

      Attachments

        Issue Links

          Activity

            mgedmin Marius Gedminas created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Priority Major [ 3 ] Minor [ 4 ]
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            mkalkov Mikhail Kalkov made changes -
            Link This issue is related to JENKINS-29311 [ JENKINS-29311 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 157811 ] JNJira + In-Review [ 208064 ]

            People

              ndeloof Nicolas De Loof
              mgedmin Marius Gedminas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: