[JIRA] (JENKINS-14575) SCM checkout retry count not working

5 views
Skip to first unread message

rene.scheibe@gmail.com (JIRA)

unread,
Sep 15, 2018, 5:02:03 AM9/15/18
to jenkinsc...@googlegroups.com
René Scheibe updated an issue
 
Jenkins / Bug JENKINS-14575
SCM checkout retry count not working
Change By: René Scheibe
Priority: Blocker Major
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jenkins@sofiedc.be (JIRA)

unread,
Jan 10, 2019, 4:24:05 AM1/10/19
to jenkinsc...@googlegroups.com
Sofie De Cooman commented on Bug JENKINS-14575
 
Re: SCM checkout retry count not working

We still run into this issue - we're using git plugin v3.8.0

e.g. while loading a shared pipeline library on a multibranch-pipeline

We got error "unable to access [shared pipeline repo git repo url]: The requested URL returned error: 504

WorkflowScript: Loading libraries failed

 

No retry is done to load the shared pipeline library, while SCM retry count is set to 5 

ernst@ernstdehaan.com (JIRA)

unread,
Feb 16, 2019, 4:56:02 AM2/16/19
to jenkinsc...@googlegroups.com

Same issue here. Here's my code snippet:

stage('checkout') {
    steps {
        retry(env.TRY_COUNT) {
            timeout(time: 45, unit: 'SECONDS') {
                checkout scm
            }
        }
    }
}

Environment:

  • Linux
  • Jenkins 2.150.1
  • Pipeline plugin 2.5
  • Pipeline: Declarative plugin 1.3.2
  • git repository
  • Git plugin 3.9.1
  • Git Client plugin 2.7.3
  • Git Pipeline for Blue Ocean plugin 1.5.4

ernst@ernstdehaan.com (JIRA)

unread,
Feb 16, 2019, 4:57:03 AM2/16/19
to jenkinsc...@googlegroups.com
Ernst de Haan edited a comment on Bug JENKINS-14575
Same issue here. Here's my code snippet: {code:none}

stage('checkout') {
    steps {
        retry(env.TRY_COUNT) {
            timeout(time: 45, unit: 'SECONDS') {
                checkout scm
            }
        }
    }
}
{code}

Environment:
- Linux
- Jenkins 2.150.1
- Pipeline plugin 2.5
- Pipeline: Declarative plugin 1.3.2
- git repository
- Git plugin 3.9.1
- Git Client plugin 2.7.3
- Git Pipeline for Blue Ocean plugin 1.5.4


What happens is:
- when the {{checkout scm}} fails due to a time-out, it just falls through the {{retry}}
- in other words: the _retry_ is not even attempted

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 13, 2020, 7:48:08 PM1/13/20
to jenkinsc...@googlegroups.com
Change By: Mark Waite
Status: Reopened Open
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages