Skip to content

Commit c39e925

Browse files
[test optimization][SDTEST-2939] Add branch to test management request (#6990)
1 parent 14653ff commit c39e925

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/dd-trace/src/ci-visibility/test-management/get-test-management-tests.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ function getTestManagementTests ({
1414
commitMessage,
1515
sha,
1616
commitHeadSha,
17-
commitHeadMessage
17+
commitHeadMessage,
18+
branch
1819
}, done) {
1920
const options = {
2021
path: '/api/v2/test/libraries/test-management/tests',
@@ -49,7 +50,8 @@ function getTestManagementTests ({
4950
attributes: {
5051
repository_url: repositoryUrl,
5152
commit_message: commitHeadMessage || commitMessage,
52-
sha: commitHeadSha || sha
53+
sha: commitHeadSha || sha,
54+
branch
5355
}
5456
}
5557
})

0 commit comments

Comments
 (0)