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

better supoort for "tip" changelogs

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          gameshas 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
          
          Show
          gameshas 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
          Hide
          jglick Jesse Glick added a comment -

          Duplicate of something already fixed I think.

          Show
          jglick Jesse Glick added a comment - Duplicate of something already fixed I think.
          Hide
          gameshas Justinas Urbanavicius added a comment -

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

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

          fixed in v1.55

          Show
          gameshas Justinas Urbanavicius added a comment - fixed in v1.55

            People

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

              Dates

              • Created:
                Updated:
                Resolved: