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

quiet period ignored for parameterized builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          mcrooney mcrooney created issue -
          mindless Alan Harder made changes -
          Field Original Value New Value
          Assignee mindless [ mindless ]
          Hide
          scm_issue_link 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)

          Show
          scm_issue_link 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)
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136755 ] JNJira + In-Review [ 204203 ]
          Hide
          pooja 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

          Show
          pooja 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

            People

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

              Dates

              Created:
              Updated:
              Resolved: