Skip to content

Commit

Permalink
Bug 1294604 - Retry checkout if it fails, r=ttaubert
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : d79fe0683124ed003fdf429ee728b2956b7ff357
  • Loading branch information
martinthomson committed Aug 12, 2016
1 parent d6ccaea commit 0557da6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions automation/taskcluster/decision_task.yml
Expand Up @@ -57,14 +57,14 @@ tasks:
- "tc-treeherder.v2.{{project}}.{{revision}}.{{pushlog_id}}"

payload:
image: "ttaubert/nss-ci:0.0.21"
image: "ttaubert/nss-ci:0.0.22"

env:
TC_OWNER: {{owner}}
TC_SOURCE: {{{source}}}
TC_PROJECT: {{project}}
TC_COMMENT: '{{comment}}'
TC_IMAGE: "ttaubert/nss-ci:0.0.21"
TC_IMAGE: "ttaubert/nss-ci:0.0.22"
NSS_PUSHLOG_ID: '{{pushlog_id}}'
NSS_HEAD_REPOSITORY: '{{{url}}}'
NSS_HEAD_REVISION: '{{revision}}'
Expand Down
7 changes: 6 additions & 1 deletion automation/taskcluster/docker-arm/bin/checkout.sh
Expand Up @@ -12,4 +12,9 @@ REVISION=${NSS_HEAD_REVISION:-default}
REPOSITORY=${NSS_HEAD_REPOSITORY:-https://hg.mozilla.org/projects/nss}

# Clone NSS.
hg clone -r $REVISION $REPOSITORY nss
for i in 0 2 5; do
sleep $i
hg clone -r $REVISION $REPOSITORY nss && exit 0
rm -rf nss
done
exit 1
7 changes: 6 additions & 1 deletion automation/taskcluster/docker/bin/checkout.sh
Expand Up @@ -12,4 +12,9 @@ REVISION=${NSS_HEAD_REVISION:-default}
REPOSITORY=${NSS_HEAD_REPOSITORY:-https://hg.mozilla.org/projects/nss}

# Clone NSS.
hg clone -r $REVISION $REPOSITORY nss
for i in 0 2 5; do
sleep $i
hg clone -r $REVISION $REPOSITORY nss && exit 0
rm -rf nss
done
exit 1

0 comments on commit 0557da6

Please sign in to comment.