[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-07-29 Thread ch...@orr.me.uk (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Orr closed an issue as Fixed 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
Version 1.4 of the plugin has now been released. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-25933 
 
 
 
  Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 

Change By:
 
 Christopher Orr 
 
 
 

Status:
 
 Resolved Closed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-07-16 Thread ch...@orr.me.uk (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Orr resolved as Fixed 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-25933 
 
 
 
  Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 

Change By:
 
 Christopher Orr 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-07-16 Thread ch...@orr.me.uk (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Orr commented on  JENKINS-25933 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 
 
As per the commit above and the changes made for issue 26542, I'm going to mark this as fixed. 
A new release will come soon. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-06-22 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-25933 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Christopher Orr Path: src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/ApkUploadTask.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/CredentialsException.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/CredentialsHandler.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/GooglePlayBuilder.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/GooglePlayPublisher.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/Util.java http://jenkins-ci.org/commit/google-play-android-publisher-plugin/d22f9a0002bfd8b8daf13814d9876efe3f7c4c7b Log: JENKINS-25933 Improve errors when credentials are missing or misconfigured. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-06-22 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-25933 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Christopher Orr Path: src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/ApkUploadTask.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/CredentialsHandler.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/GooglePlayBuilder.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/GooglePlayPublisher.java src/main/java/org/jenkinsci/plugins/googleplayandroidpublisher/Util.java http://jenkins-ci.org/commit/google-play-android-publisher-plugin/c30a83de8cfc1540215571d8e50e06be8fdf68b2 Log: JENKINS-25933 Improve errors when credentials are missing or misconfigured. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-05-04 Thread a...@rbauction.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andrew Lin edited a comment on  JENKINS-25933 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 
 I'mgettingthesameissue{code}com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImplscopeGLOBAL/scopeidb26330b9-64d2-42e6-b1dd-3e63a3e2948b/iddescription/descriptionusernamejenkins/usernamepasswordtCd9nOpxW7iQq8H2caILGZlCbzJsI+QKMWqGG4shKpM=/password/com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImplcom.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentialsplugin=google-oauth-plugin@0.3module/projectIdGooglePlayAndroidDeveloper/projectIdserviceAccountConfigclass=com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfigemailAddress520337715159-fi180q6inv678e0jl9hd7ake2l4nl...@developer.gserviceaccount.com/emailAddressp12KeyFile/opt/jenkins/gauth/key3846133823480416540.p12/p12KeyFile/serviceAccountConfig/com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials{code}config.xml{code}publishersorg.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisherplugin=google-play-android-publisher@1.3.1googleCredentialsIdGooglePlayAndroidDeveloper/googleCredentialsIdapkFilesPattern.apk/apkFilesPatternexpansionFilesPattern/expansionFilesPatternusePreviousExpansionFilesIfMissingfalse/usePreviousExpansionFilesIfMissingtrackNamealpha/trackNamerolloutPercentage/rolloutPercentage/org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher/publishers{code} moved 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-05-04 Thread a...@rbauction.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andrew Lin commented on  JENKINS-25933 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Credentials for the configured Google Account could not be found when registering only one Google Play credential  
 
 
 
 
 
 
 
 
 
 
I'm getting the same issue 

 

com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
  scopeGLOBAL/scope
  idb26330b9-64d2-42e6-b1dd-3e63a3e2948b/id
  description/description
  usernamejenkins/username
  passwordtCd9nOpxW7iQq8H2caILGZlCbzJsI+QKMWqGG4shKpM=/password
/com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials plugin=google-oauth-plugin@0.3
  module/
  projectIdGoogle Play Android Developer/projectId
  serviceAccountConfig class=com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
emailAddress520337715159-fi180q6inv678e0jl9hd7ake2l4nl...@developer.gserviceaccount.com/emailAddress
p12KeyFile/opt/jenkins/gauth/key3846133823480416540.p12/p12KeyFile
  /serviceAccountConfig
/com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
 

 
config.xml 

 

  publishers
org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher plugin=google-play-android-publisher@1.3.1
  googleCredentialsIdGoogle Play Android Developer/googleCredentialsId
  apkFilesPattern.apk/apkFilesPattern
  expansionFilesPattern/expansionFilesPattern
  usePreviousExpansionFilesIfMissingfalse/usePreviousExpansionFilesIfMissing
  trackNamealpha/trackName
  rolloutPercentage/rolloutPercentage
/org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher
  /publishers
 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
  

[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-03-26 Thread wear...@googlemail.com (JIRA)












































 
wearbif
 edited a comment on  JENKINS-25933


Credentials for the configured Google Account could not be found when registering only one Google Play credential
















I have the same issue. I have had a build job and installed this plugin, created credentials as described in this video https://www.youtube.com/watch?v=iu-bLY9-jkc. Should i delete my existing job?

Upload failed: org.jenkinsci.plugins.googleplayandroidpublisher.UploadException: Credentials for the configured Google Account could not be found
	at org.jenkinsci.plugins.googleplayandroidpublisher.GooglePlayPublisher.getServiceAccountCredentials(GooglePlayPublisher.java:39)
	at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:301)
	at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)
	at org.jenkins_ci.plugins.run_condition.BuildStepRunner$DontRun.conditionalRun(BuildStepRunner.java:264)
	at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)
	at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:183)
	at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:116)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
	at hudson.model.Run.execute(Run.java:1709)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)


	No changes have been applied to the Google Play account





























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-03-26 Thread wear...@googlemail.com (JIRA)














































wearbif
 commented on  JENKINS-25933


Credentials for the configured Google Account could not be found when registering only one Google Play credential















I have the same issue. I have had a build job and installed this plugin, created credentials as described in this video https://www.youtube.com/watch?v=iu-bLY9-jkc.

Upload failed: org.jenkinsci.plugins.googleplayandroidpublisher.UploadException: Credentials for the configured Google Account could not be found
	at org.jenkinsci.plugins.googleplayandroidpublisher.GooglePlayPublisher.getServiceAccountCredentials(GooglePlayPublisher.java:39)
	at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:301)
	at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)
	at org.jenkins_ci.plugins.run_condition.BuildStepRunner$DontRun.conditionalRun(BuildStepRunner.java:264)
	at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)
	at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:183)
	at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:116)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
	at hudson.model.Run.execute(Run.java:1709)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)


	No changes have been applied to the Google Play account





























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2015-03-26 Thread ch...@orr.me.uk (JIRA)














































Christopher Orr
 commented on  JENKINS-25933


Credentials for the configured Google Account could not be found when registering only one Google Play credential















wearbif: Could you possibly post the contents of your $JENKINS_HOME/credentials.xml file, and the config.xml for the job where you see this failure (available via $JENKINS_URL/job/$JOB_NAME/config.xml)?



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2014-12-05 Thread brice.figur...@daysofwonder.com (JIRA)














































Brice Figureau
 created  JENKINS-25933


Credentials for the configured Google Account could not be found when registering only one Google Play credential















Issue Type:


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:

	Start with no google play account credentials stored
	Create one, upload the p12 file
	Setup a new job, the credential pop-up lists the only user
	Run the build









Environment:


Linux Debian Wheezy




Project:


Jenkins



Labels:


exception
google




Priority:


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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [google-play-android-publisher-plugin] (JENKINS-25933) Credentials for the configured Google Account could not be found when registering only one Google Play credential

2014-12-05 Thread ch...@orr.me.uk (JIRA)














































Christopher Orr
 commented on  JENKINS-25933


Credentials for the configured Google Account could not be found when registering only one Google Play credential















The scenario as described shouldn't be possible, and I can only reproduce this if I create a job before any credentials have been created.

Adding more credentials to Jenkins won't cause the "googleCredentialsId" to be set in any job, unless the job configuration page is opened, and then the Save button is clicked.

But it's a known issue that the error messages relating to credentials can be improved, and the plugin should also be able to handle renaming of credentials, as currently renaming credentials after a job has been configured causes the above stacktrace.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.