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

Build with Poll SCM trigger proceeds even though no SCM change

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • linux

      I have a Jenkins jobs setup to poll SCM nightly and run a build if there are changes. The problem is if there are no changes, Jenkins executes the job anyway.

      Here is console output of a simple job that polls SCM and then executes a single build step (shell command of "echo blah").

      attached is a screenshot of the console output (also available here: http://i.imgur.com/5jQTIAe.png)

      You can see, even though there were no SCM changes, the build continues. The behavior I am looking for is if there is no change, the build steps are not executed. Also strange is the first thing in the output is "Started by an SCM change", followed by an indication that there was in fact no change.

          [JENKINS-21288] Build with Poll SCM trigger proceeds even though no SCM change

          Charles Jones created issue -
          Grigoriy Milman made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Charles Jones made changes -
          Component/s New: subversion [ 15485 ]
          Stephen Connolly made changes -
          Component/s Original: scm-api [ 18054 ]
          Manuel Recena Soto made changes -
          Assignee New: Manuel Recena Soto [ recena ]
          Manuel Recena Soto made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          Manuel Recena Soto made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153151 ] New: JNJira + In-Review [ 194485 ]

            recena Manuel Recena Soto
            cjones Charles Jones
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: