Closed RtgrV closed 4 years ago
With our project, the title of our App contained white spaces. When changing those to dashes, the command succeeded.
Logging errors:
+------------------------------------------------------------------------------+ | (0) bitbucket-server-post-build-status | +------------------------------------------------------------------------------+ | id: bitbucket-server-post-build-status | | version: 0.0.9 | | collection: https://github.com/bitrise-io/bitrise-steplib.git | | toolkit: bash | | time: 2020-03-09T09:42:57Z | +------------------------------------------------------------------------------+ | | Post build status: SUCCESSFUL API Endpoint: https://******/rest/build-status/1.0/commits/****** % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 318 0 232 100 86 321 119 --:--:-- --:--:-- --:--:-- 322 HTTP/1.1 400 Server: nginx Date: Mon, 09 Mar 2020 09:42:59 GMT Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Connection: keep-alive X-AREQUESTID: ****** X-ASEN: ****** X-AUSERID: ****** X-AUSERNAME: ****** Cache-Control: no-cache, no-transform Vary: accept-encoding,x-auserid,cookie,x-ausername,accept-encoding X-Content-Type-Options: nosniff Content-Encoding: gzip Set-Cookie: MRHSession=80cb64a2eb141a8a10f4d5e08ea34316; expires=Mon, 09 Mar 2020 21:42:59 GMT; domain=******;path=/;secure Set-Cookie: LastMRH_Session=80cb64a2eb141a8a10f4d5e08ea34316; expires=Mon, 09 Mar 2020 21:42:59 GMT; domain=******;path=/;secure {"errors":[{"context":null,"message":"Unexpected end-of-input in VALUE_STRING\n at [Source: com.atlassian.stash.internal.web.util.web.CountingServletInputStream@399e4490; line: 4, column: 114]","exceptionName":"org.codehaus.jackson.JsonParseException"}]}curl: (6) Could not resolve host: Lab curl: (3) [globbing] unmatched close brace/bracket in column 132
Please check: curl: (6) Could not resolve host: Lab
curl: (6) Could not resolve host: Lab
Our app name: NS Lab (iOS)
NS Lab (iOS)
This is curl failing. I'll check if I've got some time to address this soon. Feel free to add a PR with a fix if you know how to fix this.
Fixed in https://github.com/bitrise-io/bitrise-steplib/pull/2449
With our project, the title of our App contained white spaces. When changing those to dashes, the command succeeded.
Logging errors:
Please check:
curl: (6) Could not resolve host: Lab
Our app name:
NS Lab (iOS)