• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • Win Server 2008 R2 Enterprise,
      Jenkins version 1.610

      I have set Poll SM schedule as

      H 0 * * * 

      OR

      H/24 7 * * *

      OR

      H 14 * * * 

      etc

      But, Jenkins simply ignoring it and my Jobs which was executing previously not working now

        1. Capture.PNG
          38 kB
          Swapnil Kotwal
        2. Capture.PNG
          51 kB
          Swapnil Kotwal
        3. Capture.PNG
          51 kB
          Swapnil Kotwal
        4. Test.xml
          1 kB
          Swapnil Kotwal

          [JENKINS-28099] Poll SCM not working

          Swapnil Kotwal created issue -
          Swapnil Kotwal made changes -
          Environment Original: Win 7,
          {noformat}Jenkins version 1.610 {noformat}
          New: Win 7,
          Jenkins version 1.610

          Daniel Beck added a comment -

          This is not a valid polling schedule.

          Has nothing to do with the Poll SCM Plugin.

          Daniel Beck added a comment - This is not a valid polling schedule. Has nothing to do with the Poll SCM Plugin.
          Daniel Beck made changes -
          Assignee Original: Vincent Latombe [ vlatombe ]
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Swapnil Kotwal added a comment - - edited

          H 0 * * *

          H 7 * * *

          aren't valid schedules?

          Swapnil Kotwal added a comment - - edited H 0 * * * H 7 * * * aren't valid schedules?

          Daniel Beck added a comment -

          That's not what you wrote in the issue description. You wrote, formatted to (presumably) represent verbatim input:

          H 0 * * * OR H 7 * * * OR H 14 * * * 

          And that is not valid.

          Please explain what you're doing, in detail (i.e. full step-by-step instructions what you're configuring). Try to find out what conditions need to be met for this to not work. Is it only when you use 'H'? Is it only if the 'H' is on the 'minutes' field? Etc.

          Set up a log recorder for the logger hudson.triggers.SCMTrigger as described on https://wiki.jenkins-ci.org/display/JENKINS/Logging and report its output.

          Daniel Beck added a comment - That's not what you wrote in the issue description. You wrote, formatted to (presumably) represent verbatim input: H 0 * * * OR H 7 * * * OR H 14 * * * And that is not valid. Please explain what you're doing, in detail (i.e. full step-by-step instructions what you're configuring). Try to find out what conditions need to be met for this to not work. Is it only when you use 'H'? Is it only if the 'H' is on the 'minutes' field? Etc. Set up a log recorder for the logger hudson.triggers.SCMTrigger as described on https://wiki.jenkins-ci.org/display/JENKINS/Logging and report its output.
          Swapnil Kotwal made changes -
          Attachment New: Test.xml [ 29600 ]

          Swapnil Kotwal added a comment - - edited

          Thanks Daniel for prompt response.

          I'm just printing "Hello World" with scheduling poll (see attached job Test.xml) but it's not honoring the schedule.

          Please help. I didn't get any interesting in logs

           Apr 26, 2015 8:24:05 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON
          'stapler-class' is deprecated: hudson.tasks.Ant
          Apr 26, 2015 8:24:05 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON
          'stapler-class' is deprecated: hudson.plugins.emailext.ExtendedEmailPublisher
          Apr 26, 2015 8:24:05 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON
          'stapler-class' is deprecated: hudson.plugins.emailext.plugins.trigger.AlwaysTrigger
          Apr 26, 2015 8:29:29 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON
          'stapler-class' is deprecated: hudson.security.HudsonPrivateSecurityRealm
          Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
          Refreshing org.springframework.web.context.support.StaticWebApplicationContext@54f4e0: display name [Root WebApplicationContext]; startup date [Sun Apr 26 20:29:29 IST 2015]; root of context hierarchy
          Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
          Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@54f4e0]: org.springframework.beans.factory.support.DefaultListableBeanFactory@177c770
          Apr 26, 2015 8:29:29 PM INFO org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
          Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@177c770: defining beans [authenticationManager]; root of factory hierarchy
          Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
          Refreshing org.springframework.web.context.support.StaticWebApplicationContext@13ba8f3: display name [Root WebApplicationContext]; startup date [Sun Apr 26 20:29:29 IST 2015]; root of context hierarchy
          Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
          Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@13ba8f3]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d1119
          Apr 26, 2015 8:29:29 PM INFO org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
          Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d1119: defining beans [filter,legacy]; root of factory hierarchy
          Apr 26, 2015 8:29:29 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON
          'stapler-class' is deprecated: hudson.markup.RawHtmlMarkupFormatter
          Apr 26, 2015 8:31:06 PM INFO hudson.TcpSlaveAgentListener$ConnectionHandler run
          Accepted connection #5 from /172.16.24.2:62764
          Apr 26, 2015 8:38:29 PM INFO hudson.model.AsyncPeriodicWork$1 run
          Started Workspace clean-up
          Apr 26, 2015 8:38:30 PM INFO hudson.model.AsyncPeriodicWork$1 run
          Finished Workspace clean-up. 1,885 ms 

          Swapnil Kotwal added a comment - - edited Thanks Daniel for prompt response. I'm just printing "Hello World" with scheduling poll (see attached job Test.xml) but it's not honoring the schedule. Please help. I didn't get any interesting in logs Apr 26, 2015 8:24:05 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON 'stapler-class' is deprecated: hudson.tasks.Ant Apr 26, 2015 8:24:05 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON 'stapler-class' is deprecated: hudson.plugins.emailext.ExtendedEmailPublisher Apr 26, 2015 8:24:05 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON 'stapler-class' is deprecated: hudson.plugins.emailext.plugins.trigger.AlwaysTrigger Apr 26, 2015 8:29:29 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON 'stapler-class' is deprecated: hudson.security.HudsonPrivateSecurityRealm Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh Refreshing org.springframework.web.context.support.StaticWebApplicationContext@54f4e0: display name [Root WebApplicationContext]; startup date [Sun Apr 26 20:29:29 IST 2015]; root of context hierarchy Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@54f4e0]: org.springframework.beans.factory.support.DefaultListableBeanFactory@177c770 Apr 26, 2015 8:29:29 PM INFO org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@177c770: defining beans [authenticationManager]; root of factory hierarchy Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh Refreshing org.springframework.web.context.support.StaticWebApplicationContext@13ba8f3: display name [Root WebApplicationContext]; startup date [Sun Apr 26 20:29:29 IST 2015]; root of context hierarchy Apr 26, 2015 8:29:29 PM INFO org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@13ba8f3]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d1119 Apr 26, 2015 8:29:29 PM INFO org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d1119: defining beans [filter,legacy]; root of factory hierarchy Apr 26, 2015 8:29:29 PM WARNING org.kohsuke.stapler.RequestImpl$TypePair convertJSON 'stapler-class' is deprecated: hudson.markup.RawHtmlMarkupFormatter Apr 26, 2015 8:31:06 PM INFO hudson.TcpSlaveAgentListener$ConnectionHandler run Accepted connection #5 from /172.16.24.2:62764 Apr 26, 2015 8:38:29 PM INFO hudson.model.AsyncPeriodicWork$1 run Started Workspace clean-up Apr 26, 2015 8:38:30 PM INFO hudson.model.AsyncPeriodicWork$1 run Finished Workspace clean-up. 1,885 ms
          Swapnil Kotwal made changes -
          Description Original: I have set Poll SM schedule as

          {noformat}H 0 * * * OR H 7 * * * OR H 14 * * * {noformat} etc

          But, Jenkins simply ignoring it and my Jobs which was executing previously not working now
          New: I have set Poll SM schedule as

          {noformat}H 0 * * * {noformat} OR {noformat}H/24 7 * * *{noformat} OR {noformat}H 14 * * * {noformat} etc

          But, Jenkins simply ignoring it and my Jobs which was executing previously not working now
          Swapnil Kotwal made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            vlatombe Vincent Latombe
            swapnilvkotwal Swapnil Kotwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: