Skip to content

Clients added to Version2Client #615

Clients added to Version2Client

Clients added to Version2Client #615

Triggered via push February 20, 2025 19:53
Status Failure
Total duration 2m 46s
Artifacts

ci.yaml

on: push
Matrix: Build
Matrix: Lint Code
Matrix: Unit Tests
Matrix: Integration Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
tests/integration/version2/issueAttachments.test.ts > should add attachment: src/clients/baseClient.ts#L138
HttpException: Request failed with status code 415 ❯ Version2Client.buildErrorHandlingResponse src/clients/baseClient.ts:138:14 ❯ Version2Client.handleFailedResponse src/clients/baseClient.ts:122:22 ❯ Version2Client.sendRequest src/clients/baseClient.ts:94:19 ❯ tests/integration/version2/issueAttachments.test.ts:36:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { code: 'ERR_BAD_REQUEST', message: 'Request failed with status code 415', data: '', status: 415, statusText: 'Unsupported Media Type' }, code: 'ERR_BAD_REQUEST', status: 415, statusText: 'Unsupported Media Type', initMessage: 'Function<initMessage>', initCause: 'Function<initCause>', initCode: 'Function<initCode>', initName: 'Function<initName>', initStatus: 'Function<initStatus>', initStatusText: 'Function<initStatusText>' } Caused by: Caused by: AxiosError: Request failed with status code 415 ❯ settle node_modules/axios/lib/core/settle.js:19:12 ❯ IncomingMessage.handleStreamEnd node_modules/axios/lib/adapters/http.js:599:11 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41 ❯ Version2Client.sendRequest src/clients/baseClient.ts:90:24 ❯ tests/integration/version2/issueAttachments.test.ts:36:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/x-www-form-urlencoded', 'X-Atlassian-Token': 'no-check', Authorization: 'Basic bXJyZWZhY3RvcmluZ0B5YW5kZXgucnU6***', 'User-Agent': 'axios/1.7.9', 'Accept-Encoding': 'gzip, compress, deflate, br' }, paramsSerializer: { serialize: 'Function<bound paramSerializer>' }, baseURL: '***', url: '/rest/api/2/issue/AUTOTEST-1/attachments', method: 'post' }, code: 'ERR_BAD_REQUEST', status: 415 }
Integration Tests (18.x)
Process completed with exit code 1.
Lint Code (20.x): tests/integration/utils/createSoftwareProject.ts#L19
Unexpected console statement
Lint Code (20.x): tests/integration/utils/deleteSoftwareProject.ts#L14
Unexpected console statement
Lint Code (20.x): tests/integration/version2/issueComments.test.ts#L37
Unexpected console statement
Lint Code (20.x): examples/src/addFixVersion.ts#L22
Unexpected console statement
Lint Code (20.x): examples/src/addFixVersion.ts#L26
Unexpected console statement
Lint Code (20.x): examples/src/addWorklog.ts#L23
Unexpected console statement
Lint Code (20.x): examples/src/addWorklog.ts#L27
Unexpected console statement
Lint Code (20.x): examples/src/basic.ts#L31
Unexpected console statement
Lint Code (20.x): examples/src/basic.ts#L44
Unexpected console statement
Lint Code (20.x): examples/src/basic.ts#L50
Unexpected console statement
Lint Code (18.x): tests/integration/utils/createSoftwareProject.ts#L19
Unexpected console statement
Lint Code (18.x): tests/integration/utils/deleteSoftwareProject.ts#L14
Unexpected console statement
Lint Code (18.x): tests/integration/version2/issueComments.test.ts#L37
Unexpected console statement
Lint Code (18.x): examples/src/addFixVersion.ts#L22
Unexpected console statement
Lint Code (18.x): examples/src/addFixVersion.ts#L26
Unexpected console statement
Lint Code (18.x): examples/src/addWorklog.ts#L23
Unexpected console statement
Lint Code (18.x): examples/src/addWorklog.ts#L27
Unexpected console statement
Lint Code (18.x): examples/src/basic.ts#L31
Unexpected console statement
Lint Code (18.x): examples/src/basic.ts#L44
Unexpected console statement
Lint Code (18.x): examples/src/basic.ts#L50
Unexpected console statement