I run customtools-plugin together with android-emulator-plugin, and when jenkins launches tasks for android-emulator, they are launched without the default PATH varable.
This means that the shell scripts that start the emulator can't find common tools as dirname, file and so on.
Workaround is to add a custom tool that defines default paths too, but thats site-wide and when some nodes have other PATH's than other, i can only add the directories that exists on all nodes.
|Field||Original Value||New Value|
|Component/s||android-emulator [ 15725 ]|
|Environment||custom-tools 0.4, android emulator plugin|
|Attachment||error-custom-tools-0.3.txt [ 24322 ]|
|Attachment||error-custom-tools-0.5-snap-platform-tools.txt [ 24323 ]|
|Attachment||error-custom-tools-0.5-snap-with-platform-tools.txt [ 24324 ]|
|Attachment||config.xml [ 24325 ]|
|Assignee||Oleg Nenashev [ oleg_nenashev ]||Christopher Orr [ orrc ]|
|Assignee||Christopher Orr [ orrc ]||Oleg Nenashev [ oleg_nenashev ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Summary||Breaks path for jenkins-launched programs||[integration] - android-plugin + custom-tools installation fails due to NPE in ProcStarter::envs()|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Workflow||JNJira [ 150960 ]||JNJira + In-Review [ 206928 ]|