Every time a build is triggered, scm plugin retrieves changes and stores them in changelog.

      1. If you create a build that is executed on every newest commit, for tag "tip". Scm plugin retrieves a huge list of all commits, the list should be limited to current branch and maybe 20 latest commits, but not hundreds like it does now.
      2. If the build fails, all of the users that where in those commits get notified, but only the last commiter should be notified as he broke the build.

          [JENKINS-34587] better supoort for "tip" changelogs

          Started by an SCM change
          Building on master in workspace /var/lib/jenkins/jobs/dev/workspace
          [workspace] $ hg showconfig paths.default
          [workspace] $ hg pull
          pulling from /home/hg/ITUVS-Sources/ituvs
          searching for changes
          no changes found
          [workspace] $ hg update --clean --rev tip
          221 files updated, 0 files merged, 44 files removed, 0 files unresolved
          [workspace] $ hg --config extensions.purge= clean --all
          [workspace] $ hg log --rev . --template {node}
          [workspace] $ hg log --rev . --template {rev}
          [workspace] $ hg log --rev 914d0242c942f5963ce4379845f457e8cbb91449
          changeset:   6823:914d0242c942
          branch:      PP12181
          user:        Justinas Urbanavicius <.....>
          date:        Tue May 03 13:58:04 2016 +0300
          summary:     Task 117456
          
          [workspace] $ hg log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev tip:0 --follow --prune 914d0242c942f5963ce4379845f457e8cbb91449 --encoding UTF-8 --encodingmode replace
          

          Justinas Urbanavicius added a comment - Started by an SCM change Building on master in workspace / var /lib/jenkins/jobs/dev/workspace [workspace] $ hg showconfig paths. default [workspace] $ hg pull pulling from /home/hg/ITUVS-Sources/ituvs searching for changes no changes found [workspace] $ hg update --clean --rev tip 221 files updated, 0 files merged, 44 files removed, 0 files unresolved [workspace] $ hg --config extensions.purge= clean --all [workspace] $ hg log --rev . --template {node} [workspace] $ hg log --rev . --template {rev} [workspace] $ hg log --rev 914d0242c942f5963ce4379845f457e8cbb91449 changeset: 6823:914d0242c942 branch: PP12181 user: Justinas Urbanavicius <.....> date: Tue May 03 13:58:04 2016 +0300 summary: Task 117456 [workspace] $ hg log --template "<changeset node= '{node}' author= '{author|xmlescape}' rev= '{rev}' date= '{date}' ><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev tip:0 --follow --prune 914d0242c942f5963ce4379845f457e8cbb91449 --encoding UTF-8 --encodingmode replace

          Jesse Glick added a comment -

          Duplicate of something already fixed I think.

          Jesse Glick added a comment - Duplicate of something already fixed I think.

          yes it's appears to be fixed in the latest version

          Justinas Urbanavicius added a comment - yes it's appears to be fixed in the latest version

          fixed in v1.55

          Justinas Urbanavicius added a comment - fixed in v1.55

            jglick Jesse Glick
            gameshas Justinas Urbanavicius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: