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

Build will never start when polling Clearcase within quiet period and with no workspace.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • OS: RedHat Enterprise Linux 5 64-bit; Hudson 1.383; Clearcase plugin 1.3.2

      When there is no workspace (i.e. after renaming a job or wiping out workspace from menu) SCM polling states that there is no workspace, so it schedules the build to get it. Trouble begins when the quiet period is involved.

      My scenario is as follows: SCM polling is set to every 5 minutes and quiet period is 15 minutes. This way I achieve quite stable moment for starting a build (not to get into developer's merge). This works fine if a workspace exists, but when it doesn't, the build waits in the queue indefinitely; every 5 minutes SCM polling states there is no workspace and reports "changes found" to Hudson, which in turn resets the quiet period. This is a no-win situation, the only solution currently is to force build manually.

      I wonder if it is possible to detect whether the build is already in the build queue when polling and report "changes found" with no workspace only when the build is not yet scheduled.

          [JENKINS-8007] Build will never start when polling Clearcase within quiet period and with no workspace.

          After reviewing source code it seems to be general Hudson issue, not specific to Clearcase. Retargeting issue to core.

          Krzysztof Malinowski added a comment - After reviewing source code it seems to be general Hudson issue, not specific to Clearcase. Retargeting issue to core.

          Proposed fix

          Krzysztof Malinowski added a comment - Proposed fix

          dogfood added a comment -

          Integrated in hudson_main_trunk #393
          [FIXED JENKINS-8007] apply patch from raspy to allow build to start when
          polling interval is shorter than quiet period and we need a build/workspace
          for polling (don't continuously push out the quiet period)

          mindless :
          Files :

          • /trunk/www/changelog.html
          • /trunk/hudson/main/core/src/main/resources/hudson/model/Messages.properties
          • /trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java

          dogfood added a comment - Integrated in hudson_main_trunk #393 [FIXED JENKINS-8007] apply patch from raspy to allow build to start when polling interval is shorter than quiet period and we need a build/workspace for polling (don't continuously push out the quiet period) mindless : Files : /trunk/www/changelog.html /trunk/hudson/main/core/src/main/resources/hudson/model/Messages.properties /trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java

            mindless Alan Harder
            raspy Krzysztof Malinowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: