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

Bitbucket checkout will hang indefinitely when bitbucket server unavailable for a period of time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None

      When using Bitbucket as source repo on a multibranch pipeline job. If bitbucket becomes unavailable during a checkout process it will hang the build requiring it to be aborted manually. Timeout seems to be ignored.

      Started by user User Omitted
      Obtained Jenkinsfile from f9eaa123123123123123123123123
      Running in Durability level: PERFORMANCE_OPTIMIZED
      Loading library lib.common@stable
      Examining proj/our-library
      Attempting to resolve stable as a branch
      Attempting to resolve stable as a tag
      Resolved stable as tag stable at revision f3f445ba236e3847b127521231231231231231
       > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url https://github.com/PROJ/our-library.git # timeout=10
      Fetching with tags
      Fetching upstream changes from https://github.com/PROJ/our-library.git
       > git --version # timeout=10
      using GIT_ASKPASS to set credentials mah-token
       > git fetch --tags --progress https://github.com/PROJ/our-library.git +refs/tags/stable:refs/tags/stable
      Checking out Revision f3f445ba236e3847b127521231231231231231 (stable)
       > git config core.sparsecheckout # timeout=10
       > git checkout -f f3f445ba236e3847b127521231231231231231
      Commit message: "Merge pull request #195 from library/EG-123"
      [Bitbucket] Notifying commit build result
      [Pipeline] properties
      [Pipeline] task (ReadScheduleFromFile)
      [Pipeline] { (ReadScheduleFromFile)
      [Pipeline] }
      [Pipeline] // task
      [Pipeline] echo
      Using Schedule: IMMEDIATE
      [Pipeline] node
      Running on Monster-Node (i-234sdfs234f0a65) in /home/ubuntu/workspace/eg-branch-S12341231234123123123123123
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (build)
      [Pipeline] checkout
      Cloning the remote Git repository
      Cloning with configured refspecs honoured and without tags
      Cloning repository https://stash.example.com/scm/PROJ/example.git
      

            Unassigned Unassigned
            daxroc Damien Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: