• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      I recently reported a bug on IRC about parameterized quite periods and delays, where Kohsuke fixed it such that buildWithParameters?delay=30sec now works as expected.

      However the quiet period is still ignored. The "Build now" button doesn't respect the quiet period but this is perhaps expected as it uses "delay=0sec", but also hitting the /build URL and entering parameters, or setting a "Build periodically" for "* * * * *" will result in the build being executed instantly every minute.

      This was confirmed on a fresh 1.360 Hudson instance with both the system quiet period and project-level quiet period.

          [JENKINS-6660] quiet period ignored for parameterized builds

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/ParametersDefinitionProperty.java
          trunk/hudson/main/core/src/main/resources/hudson/model/ParametersDefinitionProperty/index.jelly
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/31544
          Log:
          [FIXED JENKINS-6660] use configured/specified quiet period (delay parameter) for
          parameterized build via doBuild (delay was only supported via buildWithParameters)

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/model/ParametersDefinitionProperty.java trunk/hudson/main/core/src/main/resources/hudson/model/ParametersDefinitionProperty/index.jelly trunk/www/changelog.html http://jenkins-ci.org/commit/31544 Log: [FIXED JENKINS-6660] use configured/specified quiet period (delay parameter) for parameterized build via doBuild (delay was only supported via buildWithParameters)

          pooja shah added a comment - - edited

          is it still broken on Jenkins version: 1.629 ?
          Getting same issue: https://issues.jenkins-ci.org/browse/JENKINS-24955
          any work around would be helpful

          pooja shah added a comment - - edited is it still broken on Jenkins version: 1.629 ? Getting same issue: https://issues.jenkins-ci.org/browse/JENKINS-24955 any work around would be helpful

            mindless Alan Harder
            mcrooney mcrooney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: