fileformat / bitrise-step-appcenter-app-release Goto Github PK
View Code? Open in Web Editor NEWBitrise step to release an application on Microsoft AppCenter
License: MIT License
Bitrise step to release an application on Microsoft AppCenter
License: MIT License
I tried to use $APPCENTER_DOWNLOAD_URL but it just does not contain anything
API call failed with 400: {"status":400,"name":"Error","message":"Missing required body parameter "body""}
This step has been running without problems for 2 years until yesterday when it stopped working with this error.
Hi,
as far as I know there is no possibility to upload apk mapping.txt
file with this plugin. Could you please consider adding it?
As I briefly checked there is symbol_uploads
API for it
In the past week or two I've started getting timeout errors uploading apps. They aren't particularly large (24MB) but it seems to be both recent and consistent. I don't see any settings to adjust related to this. Any thoughts?
Starting AppCenter app upload at 2020-02-14T18:57:48Z
Getting a release upload url for Redacted/Redacted
API call failed with 500: {"code":"dependent_service_error","message":"Error: Error: ESOCKETTIMEDOUT"}
It would be nice to expose a download URL after the upload so it can be processed by other steps like Slack or JIRA comments.
Hello @fileformat 👋
Oliver here from Bitrise. Just want to leave a message that we officially deprecated this step in the Bitrise step library as you stated in the README that it's no longer maintained.
Existing users of the step will keep access to it, but the workflow editor won't offer this step in the search results anymore.
Thank you for your help in making the Bitrise ecosystem better! 💜 🚀
It looks like we can't tweak whether we want to make the release mandatory or not.
My understanding is that the Patch request could be tweaked with the field added: https://openapi.appcenter.ms/#/distribute/releases_update
Maybe there is a reason you didn't add this?
I'm trying to upload to a new AppCenter app, but I keep getting the same error:
+------------------------------------------------------------------------------+
| (0) appcenter-app-release@1 |
+------------------------------------------------------------------------------+
| id: appcenter-app-release |
| version: 1.0.5 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2020-09-02T15:39:45Z |
+------------------------------------------------------------------------------+
| |
INFO[15:39:45] Start installing (jq) with apt-get
sudo "apt-get" "update"
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:2 https://packages.cloud.google.com/apt cloud-sdk-xenial InRelease [6,384 B]
Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:4 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:5 https://deb.nodesource.com/node_12.x xenial InRelease
Hit:6 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:7 https://packages.cloud.google.com/apt cloud-sdk-xenial/main amd64 Packages [131 kB]
Get:8 https://packages.cloud.google.com/apt cloud-sdk-xenial/main i386 Packages [119 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1,178 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:11 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.2 kB]
Get:12 https://dl.yarnpkg.com/debian stable/main i386 Packages [10.2 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [881 kB]
Get:14 https://dl.yarnpkg.com/debian stable/main all Packages [10.2 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [638 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [545 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,537 kB]
Get:19 https://packagecloud.io/github/git-lfs/ubuntu xenial InRelease [23.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [1,215 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1,039 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [936 kB]
Get:23 https://packagecloud.io/github/git-lfs/ubuntu xenial/main amd64 Packages [8,931 B]
Get:24 https://packagecloud.io/github/git-lfs/ubuntu xenial/main i386 Packages [8,893 B]
Fetched 8,639 kB in 2s (4,296 kB/s)
Reading package lists...
(jq) isn't installed, installing...
* [OK] jq installed
INFO[15:39:55] * [OK] Step dependency (jq) installed, available.
INFO[15:39:55] Start installing (curl) with apt-get
INFO[15:39:55] * [OK] Step dependency (curl) installed, available.
Starting AppCenter app upload at 2020-09-02T15:39:55Z
Getting a release upload url for Nautilus-Inc/NLS-JRNY-PROD-M10-ANDROID
API call failed with 404: {"message":"Not found. Correlation ID: 62f7e65d-4ca5-46bd-9625-14eb8be0d775","statusCode":404,"code":"Not Found"}
I've confirmed that the organization name and the app name are correct. I've even been able to upload to one of my organization's other apps in AppCenter, NLS-JRNY-STAGE-M10-ANDROID. But NLS-JRNY-PROD-M10-ANDROID fails to resolve for some reason.
There doesn't seem to be a way to add release notes to an upload. AppCenter itself doesn't seem to support this in the API during the upload, it looks like it takes a separate PUT /v0.1/apps/{owner_name}/{app_name}/releases/{release_id}
call to set release_notes
. How hard is adding that to this step?
Dear @fileformat!
As you might have heard, HockeyApp is being retired. Bitrise, of course, has officially maintained HockeyApp Steps until now. These Steps are now going to be deprecated. We’ve decided instead to create AppCenter Steps to support the new 3rd party platform, and these Steps will be officially maintained, too.
I opened this ticket to let you know about this because you have a Step created for our community. We’d be really happy if you continued contributing to the new Step after the change!
Tamas @ Bitrise
I always get this message error.
API call failed with 404: {"message":"Not found. Context ID: 4ae382a9-4b00-44b5-9242-d232a7253a06","statusCode":404,"code":"Not Found"}
Am I wrong any configuration? Please let me know. Thank you!
Per https://status.appcenter.ms/, the new hostname would be file.appcenter.ms
For more info: http://aka.ms/appcenteruploadurl
Can we update the step because the builds are failing to upload?
Hi, thanks for creating the step.
While it works for certain apps and usually uploads for all apps. Something goes wrong when distributing.
This is the response I get:
�[00;31mAPI call failed with 400:
<title>Error</title>SyntaxError: Unexpected token�
in JSON at position 69
at JSON.parse (<anonymous>)
at parse (/home/node/data/node_modules/body-parser/lib/types/json.js:89:19)
at /home/node/data/node_modules/body-parser/lib/read.js:121:18
at invokeCallback (/home/node/data/node_modules/raw-body/index.js:224:16)
at done (/home/node/data/node_modules/raw-body/index.js:213:7)
at IncomingMessage.onEnd (/home/node/data/node_modules/raw-body/index.js:273:7)
at IncomingMessage.emit (events.js:203:15)
at IncomingMessage.EventEmitter.emit (domain.js:448:20)
at endReadableNT (_stream_readable.js:1143:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
I was wondering if you could look into this. This does work for certain apps at the same time though. So I am assuming the fix might be trivial, but slightly hard to find. Thanks!
I have an error
I added that path url: $BITRISE_IPA_PATH
build url: https://app.bitrise.io/build/f469f3db-be38-4883-a9c3-a2f693eb1a01
+------------------------------------------------------------------------------+
| (9) appcenter-app-release@1 |
+------------------------------------------------------------------------------+
| id: appcenter-app-release |
| version: 1.0.5 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2022-04-08T13:39:28Z |
+------------------------------------------------------------------------------+
| |
INFO[13:39:28] * [OK] Step dependency (jq) installed, available.
INFO[13:39:28] * [OK] Step dependency (curl) installed, available.
Starting AppCenter app upload at 2022-04-08T13:39:29Z
Getting a release upload url for [REDACTED]
API call failed with 404: {"message":"Resource not found: /v0.1/apps/[REDACTED]/release_uploads. Correlation ID: 329ab03e-efd2-41ed-bd73-03bb52e35999","statusCode":404,"code":"Not Found"}
| |
+---+---------------------------------------------------------------+----------+
| x | appcenter-app-release@1 (exit code: 1) | 2.19 sec |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...b.com/fileformat/bitrise-step-appcenter-app-release/issues |
| Source: https://github.com/fileformat/bitrise-step-appcenter-app-release |
+---+---------------------------------------------------------------+----------+
Suddenly we are getting below error at "appcenter-app-release" step:
Starting AppCenter app upload at 2020-06-05T06:28:50Z
Getting a release upload url for rodolphe/[REDACTED]-Alpha
API call failed with 411:
<TITLE>Length Required</TITLE>HTTP Error 411. The request must be chunked or have a content length.
"Hello, could you please release new version with release notes
support?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.