Skip to content

fix(server): cloning bitbucket branches named such as feature/JIRA-123-summary #5367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions components/server/src/bitbucket/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# BitBucket Integration tests

To run the BitBucket integration tests via `npm test` the `GITPOD_TEST_TOKEN_BITBUCKET` environment variable needs to be defined:

```bash
export GITPOD_TEST_TOKEN_BITBUCKET='{ "username": "$username", "value": "$applicationPassword", "scopes": [] }'
```

Replace `$username` / `$applicationPassword` with the integration test username and application password.

## Running a single test

Use `test.only` thus:

```js
test('Your cool test', function (done) {
//...
}
```

becomes

```js
test.only('Your cool test', function (done) {
//...
}
```
Loading