PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: codecov/uploader (ts)

Issue:
Use `BITBUCKET_REPO_FULL_NAME` for _getSlug
Per [the documentation](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/):

> Default variable | Description
> -- | --
> BITBUCKET_REPO_FULL_NAME | The full name of the repository (everything that comes after http://bitbucket.org/).

https://github.com/codecov/uploader/blob/fe203d535ba08273b144daebaef5599975f80fdb/src/ci_providers/provider_bitbucket.js#L51-L59

Pull request:
Use `BITBUCKET_REPO_FULL_NAME`
Resolves #268

Patch:
diff --git a/src/ci_providers/provider_bitbucket.ts b/src/ci_providers/provider_bitbucket.ts
index f5c0c34..568747e 100644
--- a/src/ci_providers/provider_bitbucket.ts
+++ b/src/ci_providers/provider_bitbucket.ts
@@ -54,11 +54,7 @@ function _getSHA(inputs: UploaderInputs): string {
 function _getSlug(inputs: UploaderInputs): string {
   const { args, environment: envs } = inputs
 
-  let slug = ''
-  if (envs.BITBUCKET_REPO_OWNER && envs.BITBUCKET_REPO_SLUG) {
-    slug = `${envs.BITBUCKET_REPO_OWNER}/${envs.BITBUCKET_REPO_SLUG}`
-  }
-  return args.slug || slug
+  return args.slug || envs.BITBUCKET_REPO_FULL_NAME || ''
 }
 
 export function getServiceParams(inputs: UploaderInputs): IServiceParams {


Test patch:
diff --git a/test/providers/provider_bitbucket.test.ts b/test/providers/provider_bitbucket.test.ts
index 7d69ae8..a13159d 100644
--- a/test/providers/provider_bitbucket.test.ts
+++ b/test/providers/provider_bitbucket.test.ts
@@ -80,8 +80,7 @@ describe('Bitbucket Params', () => {
         BITBUCKET_BUILD_NUMBER: '1',
         BITBUCKET_COMMIT: 'testingsha',
         BITBUCKET_PR_ID: '2',
-        BITBUCKET_REPO_OWNER: 'testOwner',
-        BITBUCKET_REPO_SLUG: 'testSlug',
+        BITBUCKET_REPO_FULL_NAME: 'testOwner/testSlug',
         CI: 'true',
       },
     }
@@ -111,8 +110,7 @@ describe('Bitbucket Params', () => {
         BITBUCKET_BRANCH: 'main',
         BITBUCKET_BUILD_NUMBER: '1',
         BITBUCKET_COMMIT: 'testingsha',
-        BITBUCKET_REPO_OWNER: 'testOwner',
-        BITBUCKET_REPO_SLUG: 'testSlug',
+        BITBUCKET_REPO_FULL_NAME: 'testOwner/testSlug',
         CI: 'true',
       },
     }
@@ -142,8 +140,7 @@ describe('Bitbucket Params', () => {
         BITBUCKET_BRANCH: 'main',
         BITBUCKET_BUILD_NUMBER: '1',
         BITBUCKET_COMMIT: 'testingsha12',
-        BITBUCKET_REPO_OWNER: 'testOwner',
-        BITBUCKET_REPO_SLUG: 'testSlug',
+        BITBUCKET_REPO_FULL_NAME: 'testOwner/testSlug',
         CI: 'true',
       },
     }
@@ -184,8 +181,7 @@ describe('Bitbucket Params', () => {
         BITBUCKET_BUILD_NUMBER: '1',
         BITBUCKET_COMMIT: 'testingsha',
         BITBUCKET_PR_ID: '2',
-        BITBUCKET_REPO_OWNER: 'testOwner',
-        BITBUCKET_REPO_SLUG: 'testSlug',
+        BITBUCKET_REPO_FULL_NAME: 'testOwner/testSlug',
         CI: 'true',
       },
     }