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

Do not trigger new build on Mercurial insignificant changes

      In Mercurial, a new tag means a new commit to the repository.

      Mercurial plugin has some code to ignore insignificant changes when polling repository:

      if (depchanges.isEmpty()) {
      
          output.println(Messages.MercurialSCM_non_dependent_changes_detected());
      
          return Change.INSIGNIFICANT;
      
      }

      But this is behavior is not available when using it in multibranch pipelines.

      It should be configurable, since many people could be using this behavior to detect new tags and thus triggering deployments.

       

       

          [JENKINS-49835] Do not trigger new build on Mercurial insignificant changes

          Luis Piedra-Márquez created issue -
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-62669 [ JENKINS-62669 ]
          Kalle Niemitalo made changes -
          Link New: This issue is related to JENKINS-62669 [ JENKINS-62669 ]
          Kalle Niemitalo made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Kalle Niemitalo made changes -
          Link Original: This issue is related to JENKINS-62669 [ JENKINS-62669 ]

            Unassigned Unassigned
            luispiedra Luis Piedra-Márquez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: