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

Please add an indication that scm is ahead of current release

      Could it be possible to add an indicator that there are new commits after a build has been released? Something like "new changes arrived". In git it could be as easy as comparing last build git sha1 with current one. The best would be to have different indicator for release and snapshot

          [JENKINS-16440] Please add an indication that scm is ahead of current release

          Fred G added a comment -

          Could you explain the use-case a bit more? What would you do if you see a "new changes arrived" indication? Start the build manually?

          Not sure if you saw this, but a new plugin has just been created yesterday, that seems to fit your description:
          https://wiki.jenkins-ci.org/display/JENKINS/Pending+Changes+Plugin

          Maybe this plugin already has some sort of notification (eg. Email) built-in. This could be faster and simpler than manually checking an indication in a column. Or it provides a common interface that can be used by other plugins.

          Fred G added a comment - Could you explain the use-case a bit more? What would you do if you see a "new changes arrived" indication? Start the build manually? Not sure if you saw this, but a new plugin has just been created yesterday, that seems to fit your description: https://wiki.jenkins-ci.org/display/JENKINS/Pending+Changes+Plugin Maybe this plugin already has some sort of notification (eg. Email) built-in. This could be faster and simpler than manually checking an indication in a column. Or it provides a common interface that can be used by other plugins.

          Marek Nazarko added a comment -

          I have many projects which depends on themselves, but they aren't multimodule project. Releasing everything to have the newest possible combo isn't good idea - I don't want to release if there were no changes. Plus there is need to commit every pom with upped version of every dependency - so it is good to release only when neccessary.
          I didn't notice Pending Changes Plugin and don't see there is anything to read about.
          Unfortunatelly git plugin doesn't offer any extension point to read for example last sha1, but it is rather easy to do manually.
          I was also thinking about something like triggering build from commit hook - but instead of building show only indication that there is something new committed. But it needs some api form jenkins.

          Marek Nazarko added a comment - I have many projects which depends on themselves, but they aren't multimodule project. Releasing everything to have the newest possible combo isn't good idea - I don't want to release if there were no changes. Plus there is need to commit every pom with upped version of every dependency - so it is good to release only when neccessary. I didn't notice Pending Changes Plugin and don't see there is anything to read about. Unfortunatelly git plugin doesn't offer any extension point to read for example last sha1, but it is rather easy to do manually. I was also thinking about something like triggering build from commit hook - but instead of building show only indication that there is something new committed. But it needs some api form jenkins.

          The Pending Changes plugin is intended to solve exactly this use case. Unfartunately it has no support for Git yet, but this is on the roadmap for the coming 4-6 weeks.

          Andreas Vogler added a comment - The Pending Changes plugin is intended to solve exactly this use case. Unfartunately it has no support for Git yet, but this is on the roadmap for the coming 4-6 weeks.

          Fred G added a comment -

          Assigning to component "pending-changes".

          Fred G added a comment - Assigning to component "pending-changes".

            avogler Andreas Vogler
            marx Marek Nazarko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: