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

Always display example build times in Build Periodically section

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins v.1.590
    • Similar Issues:

      Description

      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 *.

        Attachments

        1. 2015-06-24_07h44_27.png
          3 kB
          Shawn Scrivner
        2. 2015-06-24_07h44_37.png
          3 kB
          Shawn Scrivner

          Activity

          Hide
          chrisa89 Chris Arnott added a comment -

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

          Show
          chrisa89 Chris Arnott added a comment - I've created a pull request for this: https://github.com/jenkinsci/jenkins/pull/1941
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          scm_issue_link 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()

          Show
          scm_issue_link 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()
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -
          Show
          scm_issue_link 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
          Hide
          mnpoonia Aman Poonia added a comment -

          Fixed in 1.640

          Show
          mnpoonia Aman Poonia added a comment - Fixed in 1.640

            People

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

              Dates

              • Created:
                Updated:
                Resolved: