Issue Type: Bug Bug
Assignee: Christopher Orr
Components: google-play-android-publisher-plugin
Created: 05/Dec/14 2:38 PM
Description:

After creating a Google Play credentials as explained in the Wiki for this plugin, and configuring the job where I see the credential pop-up listing my only user.
But when the job executes, I get this error:

15:05:12 Upload failed: org.jenkinsci.plugins.googleplayandroidpublisher.UploadException: Credentials for the configured Google Account could not be found
15:05:12 	at org.jenkinsci.plugins.googleplayandroidpublisher.GooglePlayPublisher.getServiceAccountCredentials(GooglePlayPublisher.java:39)
15:05:12 	at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:301)
15:05:12 	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
15:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
15:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
15:05:12 	at hudson.model.Build$BuildExecution.post2(Build.java:182)
15:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669)
15:05:12 	at hudson.model.Run.execute(Run.java:1731)
15:05:12 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
15:05:12 	at hudson.model.ResourceController.execute(ResourceController.java:88)
15:05:12 	at hudson.model.Executor.run(Executor.java:232)

Looking at the config.xml for this job shows that there is no "googleCredentialsId" field (which explains the stacktrace above).

After I added a second credential, the build worked correctly, and the config.xml was correct.

Steps to reproduce:

  1. Start with no google play account credentials stored
  2. Create one, upload the p12 file
  3. Setup a new job, the credential pop-up lists the only user
  4. Run the build
Environment: Linux Debian Wheezy
Project: Jenkins
Labels: exception google
Priority: Major Major
Reporter: Brice Figureau
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to