[JIRA] (JENKINS-55013) support for App Center

23 views
Skip to first unread message

domi@fortysix.ch (JIRA)

unread,
Dec 4, 2018, 10:19:02 AM12/4/18
to jenkinsc...@googlegroups.com
Dominik Bartholdi created an issue
 
Jenkins / Story JENKINS-55013
support for App Center
Issue Type: Story Story
Assignee: Mez Pahlan
Components: hockeyapp-plugin
Created: 2018-12-04 15:18
Priority: Minor Minor
Reporter: Dominik Bartholdi

On November 16, 2019, HockeyApp will transition fully to App Center....

will this plugin also support App Center?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

domi@fortysix.ch (JIRA)

unread,
Dec 4, 2018, 10:20:02 AM12/4/18
to jenkinsc...@googlegroups.com
Dominik Bartholdi updated an issue
Change By: Dominik Bartholdi
On November 16, 2019, HockeyApp will transition fully to App Center....

will this plugin also support App Center? see [https://hockeyapp.net|https://hockeyapp.net/] for more info

mez.pahlan@gmail.com (JIRA)

unread,
Dec 4, 2018, 5:02:03 PM12/4/18
to jenkinsc...@googlegroups.com
Mez Pahlan commented on Story JENKINS-55013
 
Re: support for App Center

Hi Dominik Bartholdi thanks for raising this. Yes, we will support it. But at the moment we don't have a roadmap.

However I'll happily look at a PR that adds support for AppCenter from anyone.

Something's to keep in mind are that the HockeyApp plugin comes with a lot of legacy. Bad code, no unit tests, not a great Pipeline DSL. So I'd want to consider what to do with that before simply adding another endpoint. But something that adds support over a number of releases slowly is more than welcome.

mez.pahlan@gmail.com (JIRA)

unread,
Dec 4, 2018, 5:03:02 PM12/4/18
to jenkinsc...@googlegroups.com
Mez Pahlan updated an issue
Change By: Mez Pahlan
Priority: Minor Major

domi@fortysix.ch (JIRA)

unread,
Dec 5, 2018, 1:42:02 AM12/5/18
to jenkinsc...@googlegroups.com

As hockeyapp has a clear enddate (November 2019) maybe its better to just start from scratch - this way you don't have to deal with legacy and users are clear about it too. Thats at least what I would do in this case...

mez.pahlan@gmail.com (JIRA)

unread,
Feb 17, 2019, 5:57:01 PM2/17/19
to jenkinsc...@googlegroups.com

Just a quick update. I am working on this. No ETA at the moment, but work had commenced.

marc@gbanga.com (JIRA)

unread,
Feb 18, 2019, 12:13:02 PM2/18/19
to jenkinsc...@googlegroups.com

dan@bowstreet.de (JIRA)

unread,
Apr 1, 2019, 5:38:02 AM4/1/19
to jenkinsc...@googlegroups.com

Mez Pahlan if you run into any issues with App Center, let me know, I'm the responsible PM for the transition from HockeyApp to App Center.

mez.pahlan@gmail.com (JIRA)

unread,
Apr 1, 2019, 6:10:04 AM4/1/19
to jenkinsc...@googlegroups.com

Thanks Daniel Adams the only issue I have at the moment is time.

Will hopefully get some more bandwidth to look into this soon.

aberhane@topps.com (JIRA)

unread,
Apr 15, 2019, 11:21:03 AM4/15/19
to jenkinsc...@googlegroups.com

I am very excited and look forward to using the App Center plugin once it is completed. Thanks Mez Pahlan and Daniel Adams

hicham.b@jcaelectronics.ca (JIRA)

unread,
Apr 16, 2019, 6:36:02 PM4/16/19
to jenkinsc...@googlegroups.com

 

Waiting on this with impatience   

mez.pahlan@gmail.com (JIRA)

unread,
Apr 17, 2019, 1:54:03 AM4/17/19
to jenkinsc...@googlegroups.com

Thanks everyone for the excitement! I am also looking forward to it

Just a little update for everyone. The current plugin has a security issue that I'm patching at the moment. I want to make that the last update to the HockeyApp plugin before I work on the AppCenter plugin. That's taken longer than I would have liked but I am almost finished with the patch.

I'll keep everyone in updated on how I get on and when they can start testing a new plugin. Many thanks all.

dan@bowstreet.de (JIRA)

unread,
Apr 18, 2019, 5:41:02 AM4/18/19
to jenkinsc...@googlegroups.com

All the good things take time, really appreciated your effort Mez Pahlan

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 2:53:03 AM4/30/19
to jenkinsc...@googlegroups.com
Stephan Wezel updated an issue
Change By: Stephan Wezel
Attachment: upload_to_appcenter.sh

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 2:57:03 AM4/30/19
to jenkinsc...@googlegroups.com

Mez Pahlan: We have internally develop a crude (bash) shell script to interact with app-center to upload an build to an existing app-center project.
It might help you for the implementation. Or anyone else in the meantime until an jenkins plugin is ready.

It uses jq (https://stedolan.github.io/jq/)] for parsing the JSON responces. And curl for the http requests
upload_to_appcenter.sh

 

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 2:57:05 AM4/30/19
to jenkinsc...@googlegroups.com
Stephan Wezel edited a comment on Story JENKINS-55013
[~mezpahlan]: We have internally develop a crude (bash) shell script to interact with app-center to upload an build to an existing app-center project.

It might help you for the implementation. Or anyone else in the meantime until an jenkins plugin is ready.

It uses jq ([https://stedolan.github.io/jq/)|https://stedolan.github.io/jq/] ] for parsing the JSON responces. And curl for the http requests
[^upload_to_appcenter.sh]

 

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 3:05:02 AM4/30/19
to jenkinsc...@googlegroups.com
Stephan Wezel edited a comment on Story JENKINS-55013
[~mezpahlan]: We have internally develop a crude (bash) shell script to interact with app-center to upload an build to an existing app-center project.
It might help you for the implementation. Or anyone else in the meantime until an jenkins plugin is ready.

It uses jq ([https://stedolan.github.io/jq/)|https://stedolan.github.io/jq/] for parsing the JSON responces. And curl for the http requests
[^upload_to_appcenter.sh]

^Within an windows jenkins slave we use Git Bash to run the shell script via "Execute Windows batch command":^
^^
{code:java}
"C:\Program Files\Git\bin\sh.exe" -xe "<path to script>\upload_to_appcenter.sh" "<path_to_package_to_upload>" <api_token> "<owner of the app center app>" "<app center app name>" "<changelog text>" "<destination e.g Public for an public release>"
{code}
 

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 3:06:03 AM4/30/19
to jenkinsc...@googlegroups.com
Stephan Wezel edited a comment on Story JENKINS-55013
[~mezpahlan]: We have internally develop a crude (bash) shell script to interact with app-center to upload an build to an existing app-center project.
It might help you for the implementation. Or anyone else in the meantime until an jenkins plugin is ready.

It uses jq ([https://stedolan.github.io/jq/)|https://stedolan.github.io/jq/] for parsing the JSON responces. And curl for the http requests
[^upload_to_appcenter.sh]

^Within an windows jenkins slave we use Git Bash to run the shell script via "Execute Windows batch command":^
^^

{code:
java sh }

"C:\Program Files\Git\bin\sh.exe" -xe "<path to script>\upload_to_appcenter.sh" "<path_to_package_to_upload>" <api_token> "<owner of the app center app>" "<app center app name>" "<changelog text>" "<destination e.g Public for an public release>"
{code}
 

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 3:06:06 AM4/30/19
to jenkinsc...@googlegroups.com
Stephan Wezel edited a comment on Story JENKINS-55013
[~mezpahlan]: We have internally develop a crude (bash) shell script to interact with app-center to upload an build to an existing app-center project.
It might help you for the implementation. Or anyone else in the meantime until an jenkins plugin is ready.

It uses jq ([https://stedolan.github.io/jq/)|https://stedolan.github.io/jq/] for parsing the JSON responces. And curl for the http requests
[^upload_to_appcenter.sh]

^ Within an windows jenkins slave we use Git Bash to run the shell script via "Execute Windows batch command": ^

{code:sh}

"C:\Program Files\Git\bin\sh.exe" -xe "<path to script>\upload_to_appcenter.sh" "<path_to_package_to_upload>" <api_token> "<owner of the app center app>" "<app center app name>" "<changelog text>" "<destination e.g Public for an public release>"
{code}
 

stephan.wezel@promotion-software.de (JIRA)

unread,
Apr 30, 2019, 3:10:02 AM4/30/19
to jenkinsc...@googlegroups.com
Stephan Wezel edited a comment on Story JENKINS-55013
[~mezpahlan]: We have internally develop developed a crude (bash) shell script to interact with app-center to upload an build to an existing app-center project.

It might help you for the implementation. Or anyone else in the meantime until an jenkins plugin is ready.

It uses jq ([https://stedolan.github.io/jq/)|https://stedolan.github.io/jq/] for parsing the JSON responces. And curl for the http requests
[^upload_to_appcenter.sh]

Within an windows jenkins slave we use Git Bash to run the shell script via "Execute Windows batch command":

{code :sh }
"C:\Program Files\Git\bin\sh.exe" -xe "<path to script>\upload_to_appcenter.sh" "<path_to_package_to_upload>" <api_token> "<owner of the app center app>" "<app center app name>" "<changelog text>" "<destination e.g Public for an public release>"
{code}
 

mez.pahlan@gmail.com (JIRA)

unread,
Apr 30, 2019, 3:30:03 AM4/30/19
to jenkinsc...@googlegroups.com

Stephan Wezel Thanks! Looks really good.

Just to update everyone, I had to take few weeks off developing this plugin because of a security patch that is dragging on. I think I'm going to stop work on that and concentrate on this instead so hopefully I'll get something out to address this soon.

Apologies again that security patch has turned into a nightmare.

mez.pahlan@gmail.com (JIRA)

unread,
Apr 30, 2019, 4:55:04 PM4/30/19
to jenkinsc...@googlegroups.com

Right, some more updates. I'm going to share what I've got publicly so you can see where it is going and the process is more visible for everyone.

I have an appcenter-plugin repo and a branch feature/initial-structure that I'm working on. I want to complete the various API interactions before I can consider publishing this as an alpha candidate. I also need to transfer this over to the main Jenkins CI or on Github but they want to see a working plugin first rather than an empty master branch and a work in progress feature branch.

And yes, this means a brand new plugin. The old one has become a crutch to support But my thoughts are that it will be easier to attract contributions on a cleaner code base.

Dominik Bartholdi, Marc Steiner, Daniel Adams, Abel Berhane, hicham bagui, Stephan Wezel

mez.pahlan@gmail.com (JIRA)

unread,
May 14, 2019, 5:49:02 PM5/14/19
to jenkinsc...@googlegroups.com

Just checking in. I have something that works! Yaaay!

It needs error handling and more tests added...... Boooooo!!

I'm working on it! You can follow along here: https://github.com/mezpahlan/appcenter-plugin/tree/feature/initial-structure

mez.pahlan@gmail.com (JIRA)

unread,
May 27, 2019, 6:05:02 PM5/27/19
to jenkinsc...@googlegroups.com

Hello all. I've submitted a request to get the new AppCenter plugin merged into the Jenkins project. It'll be in alpha whilst I gather feedback. The functionality is limited at the moment to uploading a built artefact. In the future I want to add release notes capability but I'll wait and get some feedback on how best users want to do that first.

The API for AppCenter is still evolving which is the primary reason I'm keeping this alpha.

https://issues.jenkins-ci.org/browse/HOSTING-772

mez.pahlan@gmail.com (JIRA)

unread,
May 29, 2019, 3:51:02 PM5/29/19
to jenkinsc...@googlegroups.com
Mez Pahlan updated an issue
Change By: Mez Pahlan
Component/s: appcenter-plugin

mez.pahlan@gmail.com (JIRA)

unread,
May 30, 2019, 5:14:03 PM5/30/19
to jenkinsc...@googlegroups.com
Mez Pahlan started work on Story JENKINS-55013
 
Change By: Mez Pahlan
Status: Open In Progress

mez.pahlan@gmail.com (JIRA)

unread,
May 30, 2019, 5:14:04 PM5/30/19
to jenkinsc...@googlegroups.com

Hello again. I've published an alpha version that should be available in the repos in a few hours. If you have the time I would very much appreciate any feedback.

https://wiki.jenkins.io/display/JENKINS/App+Center+Plugin

Next on my list of things to do is to add support for change notes / release notes. But any further early feedback is welcomed.

Sorry that took so long.

mez.pahlan@gmail.com (JIRA)

unread,
May 30, 2019, 5:15:05 PM5/30/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: In Review Resolved
Resolution: Fixed
Released As: 0.1.0

mez.pahlan@gmail.com (JIRA)

unread,
May 30, 2019, 5:15:06 PM5/30/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: In Progress Review

mez.pahlan@gmail.com (JIRA)

unread,
May 31, 2019, 2:33:03 AM5/31/19
to jenkinsc...@googlegroups.com

aberhane@topps.com (JIRA)

unread,
Jun 12, 2019, 12:46:03 PM6/12/19
to jenkinsc...@googlegroups.com

Hi there Mez. I hope that things are going well. I have added the App Center Plugin and attempted to run a job. Question, will you be making continued updates to this plugin before the full depreciation of HockeyApp in November?

mez.pahlan@gmail.com (JIRA)

unread,
Jun 12, 2019, 1:05:02 PM6/12/19
to jenkinsc...@googlegroups.com

Hi Abel Berhane good question. For the HockeyApp plugin no. I'm not going to support that or allow updates to it. If something critical comes up I'll take a look but the intention is to drop it. For the AppCenter plugin yes I will. And I'm also open to pull requests if people want to contribute.

adi.bendahan@gmail.com (JIRA)

unread,
Jul 2, 2019, 11:02:02 AM7/2/19
to jenkinsc...@googlegroups.com

Hi Mez Pahlan!

First of all, thank you for developing this plugin!

Could you please provide an example for using it? I couldn't find any documentation example anywhere... 

mez.pahlan@gmail.com (JIRA)

unread,
Jul 3, 2019, 1:28:04 PM7/3/19
to jenkinsc...@googlegroups.com
Mez Pahlan closed an issue as Fixed
Change By: Mez Pahlan
Status: Resolved Closed

mez.pahlan@gmail.com (JIRA)

unread,
Jul 3, 2019, 1:28:04 PM7/3/19
to jenkinsc...@googlegroups.com

Hi Adi Ben-Dahan, you're very welcome. I'm looking for early adopters and appreciate the feedback.

To save polluting this issue I've created a new issue under JENKINS-58327. Could you follow along there please.

Reply all
Reply to author
Forward
0 new messages