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

sd card option requires multi-configuration axis name to be in capital letters

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Any text entered into the SD card option is automatically capitalized, which can be a pain. For example, a multi-config with a user-defined axis of sd =

      {16M 32M}

      can be entered into the SD card option box as ${sd}. However, all builds fail, and looking at the project configuration shows that the text was changed to ${SD}. The offending code is in EmulatorConfig.java:
      sdCardSize = sdCardSize.toUpperCase().replaceAll("[ B]", "");

      A similar issue probably exists with locale due to this:
      deviceLocale = deviceLocale.substring(0, 2).toLowerCase() +"_"
                     + deviceLocale.substring(3).toUpperCase();

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christopher Orr
          Path:
          src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java
          src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
          http://jenkins-ci.org/commit/android-emulator-plugin/eca88909f30a772e37da6c9b419a6915bffd8354
          Log:
          [FIXED JENKINS-13931] Don't alter SD card value when saving configuration, as it may contain a variable.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christopher Orr Path: src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java http://jenkins-ci.org/commit/android-emulator-plugin/eca88909f30a772e37da6c9b419a6915bffd8354 Log: [FIXED JENKINS-13931] Don't alter SD card value when saving configuration, as it may contain a variable.
          Hide
          orrc Christopher Orr added a comment -

          Version 2.9 has been released, which includes this fix.

          Show
          orrc Christopher Orr added a comment - Version 2.9 has been released, which includes this fix.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              hamiltont Hamilton Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: