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

allow timeouts to occur during pre-build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I often times have hangs before the build that I would like to be able to automatically abort. It would be nice if this was either the default or an option.

        Attachments

          Activity

          Hide
          bnovc bnovc added a comment -

          Do you have any estimate on what verison this might be in?

          I have hangs happen periodically and have to monitor Jenkins pretty actively to keep everything moving.

          Thanks!

          Show
          bnovc bnovc added a comment - Do you have any estimate on what verison this might be in? I have hangs happen periodically and have to monitor Jenkins pretty actively to keep everything moving. Thanks!
          Hide
          dbarbieri Devin Barbieri added a comment -

          That just happened to me too, my job has a 7 hour timeout, but it sat there in the pre build, possibly scm, stage for 18 hours before having to be manually aborted. On the left you can see the elapsed time.

          00:00:00.000 Started by upstream project "management-packaging" build number 1911
          00:00:00.000 originally caused by:
          00:00:00.000  Started by upstream project "management-setup.build" build number 1992
          00:00:00.000  originally caused by:
          00:00:00.000   Started by upstream project "management-begin.build.radon" build number 91
          00:00:00.001   originally caused by:
          00:00:00.001    Started by an SCM change
          00:00:00.001 Building remotely on bld-srv-16 in workspace /jenkins/workspace/management-radon-packaging/node/nbuild_mgmt_suse
          18:43:45.466 Build was aborted
          18:43:45.467 Aborted by Devin Barbieri <dbarbieri@fusionio.com>
          18:44:07.591 ERROR: Publisher hudson.plugins.descriptionsetter.DescriptionSetterPublisher aborted due to exception
          18:44:07.591 java.lang.InterruptedException
          
          Show
          dbarbieri Devin Barbieri added a comment - That just happened to me too, my job has a 7 hour timeout, but it sat there in the pre build, possibly scm, stage for 18 hours before having to be manually aborted. On the left you can see the elapsed time. 00:00:00.000 Started by upstream project "management-packaging" build number 1911 00:00:00.000 originally caused by: 00:00:00.000 Started by upstream project "management-setup.build" build number 1992 00:00:00.000 originally caused by: 00:00:00.000 Started by upstream project "management-begin.build.radon" build number 91 00:00:00.001 originally caused by: 00:00:00.001 Started by an SCM change 00:00:00.001 Building remotely on bld-srv-16 in workspace /jenkins/workspace/management-radon-packaging/node/nbuild_mgmt_suse 18:43:45.466 Build was aborted 18:43:45.467 Aborted by Devin Barbieri <dbarbieri@fusionio.com> 18:44:07.591 ERROR: Publisher hudson.plugins.descriptionsetter.DescriptionSetterPublisher aborted due to exception 18:44:07.591 java.lang.InterruptedException
          Hide
          akihi Aki Hirvonen added a comment -

          Are there any plans for implementing this? It would be useful to be able to abort the build, if for example getting SCM changes hangs.

          Show
          akihi Aki Hirvonen added a comment - Are there any plans for implementing this? It would be useful to be able to abort the build, if for example getting SCM changes hangs.

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            bnovc bnovc
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: