Get path to generated APKs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Get path to generated APKs

milan.zelenka1991
Hello everyone,
I have successfully managed to make Jenkins pull source from Assembla, build it and run it on an Android simulator by specifying the path to the generated APK in "Install Android package" build step. 

What I need now is not to have to hardcode this path because the name of the generated APK file changes with the program's version and it would need to be changed every time the program's version is changed. Is any there a way to do that? 

Thank you for your help.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e60d62bb-21a4-4ff4-9378-ad15b73f023c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Get path to generated APKs

milan.zelenka1991
Okay, I solved my issue by running a shell command using find and a regexp and renaming it.

On Thursday, June 15, 2017 at 6:35:55 PM UTC+2, [hidden email] wrote:
Hello everyone,
I have successfully managed to make Jenkins pull source from Assembla, build it and run it on an Android simulator by specifying the path to the generated APK in "Install Android package" build step. 

What I need now is not to have to hardcode this path because the name of the generated APK file changes with the program's version and it would need to be changed every time the program's version is changed. Is any there a way to do that? 

Thank you for your help.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/abb85ed6-216e-425c-a8d5-dbf5e7fcb46c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...