Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19506

[integration] - android-plugin + custom-tools installation fails due to NPE in ProcStarter::envs()

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            glance Anton Lundin created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Component/s android-emulator [ 15725 ]
            Environment custom-tools 0.4, android emulator plugin
            Labels custom-tools-0.4
            glance Anton Lundin made changes -
            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 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ] Christopher Orr [ orrc ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Christopher Orr [ orrc ] Oleg Nenashev [ oleg_nenashev ]
            glance Anton Lundin made changes -
            Link This issue is duplicated by JENKINS-19086 [ JENKINS-19086 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-20559 [ JENKINS-20559 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary Breaks path for jenkins-launched programs [integration] - android-plugin + custom-tools installation fails due to NPE in ProcStarter::envs()
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is blocking JENKINS-20560 [ JENKINS-20560 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            orrc Christopher Orr made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 150960 ] JNJira + In-Review [ 206928 ]

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              glance Anton Lundin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: