String parsing bug in xcode plugin 1.3.3;

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: xcode-plugin
    • None
    • Environment:
      MacOS OSX 10.8.3

      We just upgraded the Xcode plugin in our install of Jenkins. We upgraded from 1.3.1 to 1.3.3 with XCode 4.6.3. After doing this our builds failed with"

      "=== BUILD AGGREGATE TARGET Gen Symlinks OF PROJECT DinerDashX WITH CONFIGURATION Debug ===
      Check dependencies
      unsupported build action 'Distribution'"

      Upon checking I found this diff of interest in our build output: one works and one is broken.
      < CODE_SIGN_IDENTITY = iPhone
      > CODE_SIGN_IDENTITY = iPhone Distribution
      < setenv CODE_SIGN_IDENTITY iPhone
      > setenv CODE_SIGN_IDENTITY "iPhone Distribution"
      < setenv CODE_SIGN_IDENTITY iPhone
      > setenv CODE_SIGN_IDENTITY "iPhone Distribution"
      > setenv CODE_SIGN_IDENTITY "iPhone Distribution"
      > setenv CODE_SIGN_IDENTITY "iPhone Distribution"

      Finally, I think this part of the output might (or might not) show the issue:

      "-configuration Debug build CODE_SIGNING_REQUIRED=YES "

      In looking at the log for the xcode plugin 1.3.3 I noticed this:

      " rayh 18 days ago Refactor argument splitter using hudson.util.QuotedStringTokenizer. T... [lacostej]"

      ..and this bug certainly seems like it could be a bug in a tokenizer of some sort. I'm of course just grasping at straws since I have not looked closely at the plugin code.

      FYI this prevents us from being able to upgrade to 1.3.3, which we wanted to do to use a feature it had. We've reverted to 1.3.1 until this bug is diagnosed.

      Kind Regards,

      Robert Allen

            Assignee:
            lacostej
            Reporter:
            Robert Allen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: