From ae75da21e4afd2aad0dc2d8e6bd788f68f840fde Mon Sep 17 00:00:00 2001 From: DavidGOrtega Date: Mon, 23 May 2022 17:51:39 +0200 Subject: [PATCH] no retry --- src/drivers/bitbucket_cloud.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/drivers/bitbucket_cloud.js b/src/drivers/bitbucket_cloud.js index cda1143ee..2dc0a3da8 100644 --- a/src/drivers/bitbucket_cloud.js +++ b/src/drivers/bitbucket_cloud.js @@ -148,15 +148,15 @@ class BitbucketCloud { await exec(`chmod -R 777 ${workdir}`); const os = process.platform === 'darwin' ? 'macos' : 'linux'; - if (os === 'linux') { - await exec(` -sudo tee /usr/bin/retry << 'EOF' -#!/bin/bash -exec env GIT_LFS_SKIP_SMUDGE=1 "$\{@:2}" -EOF' -`); - await exec(`chmod 777 /usr/bin/retry`); - } + // if (os === 'linux') { + // await exec(` + // sudo tee /usr/bin/retry << 'EOF' + // #!/bin/bash + // exec env GIT_LFS_SKIP_SMUDGE=1 "$\{@:2}" + // EOF' + // `); + // await exec(`chmod 777 /usr/bin/retry`); + // } const command = `java -jar \ -Dbitbucket.pipelines.runner.account.uuid=${accountId} \ @@ -164,7 +164,7 @@ EOF' -Dbitbucket.pipelines.runner.uuid=${uuid} \ -Dbitbucket.pipelines.runner.oauth.client.id=${id} \ -Dbitbucket.pipelines.runner.oauth.client.secret=${secret} \ - -Dbitbucket.pipelines.runner.directory.working=${workdir}/temp \ + -Dbitbucket.pipelines.runner.directory.working=./temp \ -Dbitbucket.pipelines.runner.runtime=${os}-bash \ -Dbitbucket.pipelines.runner.docker.uri=unix:///var/run/docker.sock \ -Dbitbucket.pipelines.runner.scheduled.state.update.initial.delay.seconds=0 \