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

Infinite loop with crontab "0 0 1 0 0"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.446
      Next Executions plugin 1.0.2
    • Similar Issues:

      Description

      Steps to reproduce:

      1. Create a free-style job and set its "Build periodically" schedule to "0 0 1 0 0"
      2. Go to All view, then jenkins' java process consumes 100% CPU

      As described in the help, month=0 is invalid. Jenkins should reject month=0.

      > MONTH The month (1-12)

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            changelog.html
            core/src/main/java/hudson/scheduler/BaseParser.java
            http://jenkins-ci.org/commit/jenkins/921359c1257a3e30aa46e491c2c00817b838e52c
            Log:
            [FIXED JENKINS-12356] month should not be 0.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/scheduler/BaseParser.java http://jenkins-ci.org/commit/jenkins/921359c1257a3e30aa46e491c2c00817b838e52c Log: [FIXED JENKINS-12356] month should not be 0.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1485
            [FIXED JENKINS-12356] month should not be 0. (Revision 921359c1257a3e30aa46e491c2c00817b838e52c)

            Result = SUCCESS
            Seiji Sogabe : 921359c1257a3e30aa46e491c2c00817b838e52c
            Files :

            • changelog.html
            • core/src/main/java/hudson/scheduler/BaseParser.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1485 [FIXED JENKINS-12356] month should not be 0. (Revision 921359c1257a3e30aa46e491c2c00817b838e52c) Result = SUCCESS Seiji Sogabe : 921359c1257a3e30aa46e491c2c00817b838e52c Files : changelog.html core/src/main/java/hudson/scheduler/BaseParser.java
            Hide
            ohtake_tomohiro OHTAKE Tomohiro added a comment -

            Thank you for fixing the issue.

            I should have linked the issue and pull-344,
            in order not to let multiple people try to resolve same issue separately.

            Show
            ohtake_tomohiro OHTAKE Tomohiro added a comment - Thank you for fixing the issue. I should have linked the issue and pull-344 , in order not to let multiple people try to resolve same issue separately.

              People

              • Assignee:
                sogabe sogabe
                Reporter:
                ohtake_tomohiro OHTAKE Tomohiro
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: