Skip to content

Commit b3bcd77

Browse files
zakiskpipelines-as-code[bot]
authored andcommitted
fix: Fixed Bitbucket cloud e2e missing env issue
due to wrong names in env checks in setup of Bitbucket cloud e2e tests, tests were not running on PRs, instead were being skipped. Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent 7bc916a commit b3bcd77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/pkg/bitbucketcloud/setup.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ func Setup(ctx context.Context) (*params.Run, options.E2E, bitbucketcloud.Provid
2424
bitbucketCloudAPIURL := os.Getenv("TEST_BITBUCKET_CLOUD_API_URL")
2525

2626
if err := setup.RequireEnvs(
27-
"BITBUCKET_CLOUD_TOKEN", "BITBUCKET_CLOUD_E2E_REPOSITORY", "BITBUCKET_CLOUD_API_URL",
27+
"TEST_BITBUCKET_CLOUD_USER",
28+
"TEST_BITBUCKET_CLOUD_TOKEN",
29+
"TEST_BITBUCKET_CLOUD_E2E_REPOSITORY",
30+
"TEST_BITBUCKET_CLOUD_API_URL",
2831
); err != nil {
2932
return nil, options.E2E{}, bitbucketcloud.Provider{}, err
3033
}

0 commit comments

Comments
 (0)