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

List of changes for a build is empty even though mercurial plugin detects them!

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • mercurial-plugin
    • None

      Hi,

      I'm currently testing the cache feature of the mercurial plugin, although this is something that I have observed also without such cache enabled. We have a master (that does not performs builds), with several slave nodes which do the actual work of running our project's builds.

      The thing is that even though the mercurial plugin detects changes in the repository (as the mercurial polling log reports), the build that is triggered sometimes has an empty list of changes.

      And it looks like that it's not "sometimes" really, but with a given pattern I'm starting to see with my tests: when the mercurial plugin detects changes in the repository and triggers a build in a slave that already has a cloned local cache of the repository, then changes are successfully reported as part of the build information. Otherwise, when the build is triggered in a slave without an existing cache for the given repository, for example, that build has an empty list of changes.

      Considering that the mercurial plugin always seems to correctly detect that there are new changes that require a build, it's such a nuisance that we have empty changes lists for all those builds.

      Regards,
      David

          [JENKINS-11072] List of changes for a build is empty even though mercurial plugin detects them!

          David Santiago Turiño created issue -
          davidmc24 made changes -
          Link New: This issue duplicates JENKINS-10255 [ JENKINS-10255 ]
          davidmc24 made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Generic Ratslaugh made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141282 ] New: JNJira + In-Review [ 186018 ]

            kohsuke Kohsuke Kawaguchi
            nimeacuerdo David Santiago Turiño
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: