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

Always display example build times in Build Periodically section

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • Jenkins v.1.590

      In Jenkins, when setting the cron expression for a job's periodic build schedule, Jenkins conveniently tells me when the previous job would have ran and when the next job would run:

      However, if Jenkins finds a problem with the expression it will instead display a warning:

      Can a change be made so that, if it can still evaluate the expression, Jenkins will show both the warning and the example build times? For instance, I am aware of the issues with using short month cycles, but I still wish to, and I'd like to see when the next time would be. This is also an issue when Jenkins warns me that I should be using H instead of *.

          [JENKINS-29059] Always display example build times in Build Periodically section

          Chris Arnott added a comment -

          I've created a pull request for this: https://github.com/jenkinsci/jenkins/pull/1941

          Chris Arnott added a comment - I've created a pull request for this: https://github.com/jenkinsci/jenkins/pull/1941

          Code changed in jenkins
          User: chris.arnott@softwire.com
          Path:
          core/src/main/java/hudson/triggers/TimerTrigger.java
          core/src/main/java/hudson/util/ResponseObject.java
          test/src/test/java/hudson/util/ResponseObjectTest.java
          http://jenkins-ci.org/commit/jenkins/cbf46fc3597e7baf45e96dc9423cdef155e329ba
          Log:
          JENKINS-29059: Display cron run times after warnings if warnings occur.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: chris.arnott@softwire.com Path: core/src/main/java/hudson/triggers/TimerTrigger.java core/src/main/java/hudson/util/ResponseObject.java test/src/test/java/hudson/util/ResponseObjectTest.java http://jenkins-ci.org/commit/jenkins/cbf46fc3597e7baf45e96dc9423cdef155e329ba Log: JENKINS-29059 : Display cron run times after warnings if warnings occur.

          Code changed in jenkins
          User: chris.arnott@softwire.com
          Path:
          core/src/main/java/hudson/triggers/TimerTrigger.java
          core/src/main/java/hudson/util/ResponseObject.java
          test/src/test/java/hudson/util/ResponseObjectTest.java
          http://jenkins-ci.org/commit/jenkins/4d754c494b999e805239987c942d4c931748fd05
          Log:
          JENKINS-29059: Update to use FormValidation.aggregate()

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: chris.arnott@softwire.com Path: core/src/main/java/hudson/triggers/TimerTrigger.java core/src/main/java/hudson/util/ResponseObject.java test/src/test/java/hudson/util/ResponseObjectTest.java http://jenkins-ci.org/commit/jenkins/4d754c494b999e805239987c942d4c931748fd05 Log: JENKINS-29059 : Update to use FormValidation.aggregate()

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/java/hudson/triggers/TimerTrigger.java
          http://jenkins-ci.org/commit/jenkins/0597f3c4c6f24db9352e8e19ec0b89ed7194697d
          Log:
          Merge pull request #1941 from ChrisA89/JENKINS-9346-neaten-help-git-params

          JENKINS-29059: Display cron run times after warnings if warnings occur.

          Compare: https://github.com/jenkinsci/jenkins/compare/b8d4d2b49217...0597f3c4c6f2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/triggers/TimerTrigger.java http://jenkins-ci.org/commit/jenkins/0597f3c4c6f24db9352e8e19ec0b89ed7194697d Log: Merge pull request #1941 from ChrisA89/ JENKINS-9346 -neaten-help-git-params JENKINS-29059 : Display cron run times after warnings if warnings occur. Compare: https://github.com/jenkinsci/jenkins/compare/b8d4d2b49217...0597f3c4c6f2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: changelog.html http://jenkins-ci.org/commit/jenkins/1fa120197155be439f72f765fca49d3cc8f6d7a1 Log: Noting JENKINS-29059 from https://github.com/jenkinsci/jenkins/pull/1941

          Aman Poonia added a comment -

          Fixed in 1.640

          Aman Poonia added a comment - Fixed in 1.640

            Unassigned Unassigned
            desfar Shawn Scrivner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: