[JIRA] (JENKINS-57319) HockeyApp Plugin "unexpected response code from HockeyApp: 400"

10 views
Skip to first unread message

madhu.ailp24@gmail.com (JIRA)

unread,
May 3, 2019, 4:04:02 AM5/3/19
to jenkinsc...@googlegroups.com
Madhu A created an issue
 
Jenkins / Bug JENKINS-57319
HockeyApp Plugin "unexpected response code from HockeyApp: 400"
Issue Type: Bug Bug
Assignee: Mez Pahlan
Components: hockeyapp-plugin
Created: 2019-05-03 08:03
Labels: Jenkins pipeline HockeyApp plugin jenkinsfile
Priority: Major Major
Reporter: Madhu A

Hello,

I am currently using Hockey App Plugin to upload iOS .ipa files to Hockey app. Right now i'm facing an issue with API Token. Last day my Hockeyapp plugin has been removed from Jenkins , so today i have installed it again , before installing i have seen warning under the plugin says 

Version 1.5.0 (1st May 2019)
  • JENKINS-57005 Favour Secret tokens over String tokens (#60 )
    • Note: Versions prior to 1.5.0 store tokens in plain text. You should consider these compromised and reconfigure you existing jobs.

After installing the HockeyApp Plugin, i had run my jobs and it's throwing me "No API Token" error in Jenkins. Below are the detail error in jenkins

Got unexpected response code from HockeyApp: 400
{"errors":{"credentials":["no api token"]}}

What might be the issue? Do i need to add the Token in the Jenkins existing jobs?  

 

Note: I have Hockey-app configuration AppKey and AppID in my project plist file. My Jenkins pipeline reads the HockeyApp configuration from the plist.

 

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

mez.pahlan@gmail.com (JIRA)

unread,
May 3, 2019, 4:48:01 AM5/3/19
to jenkinsc...@googlegroups.com
Mez Pahlan commented on Bug JENKINS-57319
 
Re: HockeyApp Plugin "unexpected response code from HockeyApp: 400"

Hi there thanks for reporting there is a known issue with 1.5.0 and pipelines. I suggest rolling back for now whilst I look into it.

madhu.ailp24@gmail.com (JIRA)

unread,
May 3, 2019, 5:26:02 AM5/3/19
to jenkinsc...@googlegroups.com
Madhu A commented on Bug JENKINS-57319

Mez Pahlan Thanks for responding back, but I don't see any option to roll back to Hockey App version 1.4.0 in my jenkins. There is downgrade option. Is there any way we can do that?

mez.pahlan@gmail.com (JIRA)

unread,
May 3, 2019, 5:31:04 AM5/3/19
to jenkinsc...@googlegroups.com

If you've uninstalled the plugin and reinstalled then maybe that's why you don't see the downgrade option. But either way you should be able to get the old version from the build server.

https://ci.jenkins.io/job/Plugins/job/hockeyapp-plugin/job/master/28/

madhu.ailp24@gmail.com (JIRA)

unread,
May 3, 2019, 7:13:02 AM5/3/19
to jenkinsc...@googlegroups.com
Madhu A commented on Bug JENKINS-57319

Mez Pahlan Thank you for your help, rolled back to version 1.4.0 and that did the job for me. Much appreciate your help. Cheers 

mez.pahlan@gmail.com (JIRA)

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

Hi Madhu A I've made a fix that I think might work for both types of project freestyle and pipeline. Would you mind testing 1.5.1 out before I merge it.

You can find 1.5.1 on the CI server https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fhockeyapp-plugin/detail/PR-61/2/artifacts

And the associated Github PR:

https://github.com/jenkinsci/hockeyapp-plugin/pull/61

Thanks

mez.pahlan@gmail.com (JIRA)

unread,
May 7, 2019, 4:25:02 PM5/7/19
to jenkinsc...@googlegroups.com

mez.pahlan@gmail.com (JIRA)

unread,
May 7, 2019, 4:25:02 PM5/7/19
to jenkinsc...@googlegroups.com
Mez Pahlan started work on Bug JENKINS-57319
 
Change By: Mez Pahlan
Status: Open In Progress

mez.pahlan@gmail.com (JIRA)

unread,
May 7, 2019, 4:25:02 PM5/7/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: In Review Resolved
Resolution: Fixed
Released As: 1.5.1
Reply all
Reply to author
Forward
0 new messages