[JIRA] [google-play-android-publisher-plugin] (JENKINS-27507) Support multiple .apk files with different application IDs

2015-03-20 Thread f...@geekplace.eu (JIRA)














































Florian Schmaus
 commented on  JENKINS-27507


Support multiple .apk files with different application IDs















Hmm I think I got the idea of the "Parametereized Trigger Plugin" and the "Copy Artifact Plugin", What is unclear to me is, how I configure the parameterized trigger plugin to trigger n builds depending on the contents of the directory where my build does store the resulting .apk files.



























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-27507) Support multiple .apk files with different application IDs

2015-03-20 Thread f...@geekplace.eu (JIRA)














































Florian Schmaus
 commented on  JENKINS-27507


Support multiple .apk files with different application IDs















I see. Documenting this in the wiki would be really appreciated. Thank you



























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-27507) Support multiple .apk files with different application IDs

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














































Christopher Orr
 commented on  JENKINS-27507


Support multiple .apk files with different application IDs















This is something I'm not really willing to have in the plugin, as I believe uploading separate applications should be done in separate jobs.

If you attempt to upload, say three, completely different APKs in one Jenkins build, this requires opening and committing three separate "edit sessions" with the Google Play API.  If any one of these fails — maybe because of an invalid APK, or due to an API failure (which, unfortunately, is not uncommon with the Google Play API) — you will end up with your Google Play account in an inconsistent state.  Your build will be marked as failed, but one or more applications have actually been uploaded and published to Google Play, and you'll have to fix the situation manually.  Also, you won't be able to just re-rerun the build again, as it will fail due to already-existing APKs.

The Jenkins best practice in this case would be to have one job that builds the different flavours (i.e. the APKs with different application IDs) and then, if the build is successful, it would archive the APKs and start multiple "downstream" Jenkins builds which individually publish each of the applications.
You can do this relatively easily, for example, with the Parameterized Trigger Plugin and the Copy Artifacts Plugin, i.e. the "upload" job could be generic, and would receive the APK information via parameter.

I will look at documenting this on the wiki.



























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-27507) Support multiple .apk files with different application IDs

2015-03-19 Thread f...@geekplace.eu (JIRA)














































Florian Schmaus
 updated  JENKINS-27507


Support multiple .apk files with different application IDs
















Change By:


Florian Schmaus
(19/Mar/15 1:42 PM)




Description:


Myprojectsbuildsystemproducesmultiple.apkwithdifferentapplicationIDs.Forexamplethereisfoo-main.apk(id:org.foo.main)foo-module-bar.apk(id:org.foo.module.bar)foo-module-baz.apk(id:org.foo.module.baz)currentlythegoogle-play-android-publisher-pluginfailswith
{noformat}
MultipleAPKswerefoundbuttheyhaveinconsistentapplicationIDs:-org.foo.main-org.foo.module.bar-org.foo.module.bazBuildstepUploadAndroidAPKtoGooglePlaymarkedbuildasfailure
{noformat}
Pleaseaddsupportforbuildscreatingmultiple.apkfileswithdifferentapplicationIDs.



























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-27507) Support multiple .apk files with different application IDs

2015-03-19 Thread f...@geekplace.eu (JIRA)














































Florian Schmaus
 created  JENKINS-27507


Support multiple .apk files with different application IDs















Issue Type:


Improvement



Assignee:


Christopher Orr



Components:


google-play-android-publisher-plugin



Created:


19/Mar/15 1:41 PM



Description:


My project's build system produces multiple .apk with different application IDs. For example there is
foo-main.apk (id: org.foo.main)
foo-module-bar.apk (id: org.foo.module.bar)
foo-module-baz.apk (id: org.foo.module.baz)

currently the google-play-android-publisher-plugin fails with

Multiple APKs were found but they have inconsistent application IDs:

	org.foo.main
	org.foo.module.bar
	org.foo.module.baz
Build step 'Upload Android APK to Google Play' marked build as failure




Please add support for builds creating multiple .apk files with different application IDs.




Project:


Jenkins



Priority:


Minor



Reporter:


Florian Schmaus

























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-27507) Support multiple .apk files with different application IDs

2015-03-19 Thread f...@geekplace.eu (JIRA)














































Florian Schmaus
 updated  JENKINS-27507


Support multiple .apk files with different application IDs
















Change By:


Florian Schmaus
(19/Mar/15 1:51 PM)




Issue Type:


Improvement
NewFeature





Priority:


Minor
Major



























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.