• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • xcode-plugin
    • None

      allow xcode plugin to build multiple configurations.
      For example, 1st build Debug and then Release

          [JENKINS-12563] Build multiple configuration

          I would like to be able to use axes from a multiple-configuration jenkins job within the Xcode plugin. For instance, I'm currently trying to plug in the current value of a ${SchemeName} axis, but "${SchemeName}" gets passed directed to xcodebuild. Lacking a workaround, I'm going back to invoking xcodebuild with shell scripts. Thanks.

          Nathaniel Irons added a comment - I would like to be able to use axes from a multiple-configuration jenkins job within the Xcode plugin. For instance, I'm currently trying to plug in the current value of a ${SchemeName} axis, but "${SchemeName}" gets passed directed to xcodebuild. Lacking a workaround, I'm going back to invoking xcodebuild with shell scripts. Thanks.

          Daniel Brooks added a comment -

          +1 for a fix here. I'm going to look at the code here. I am using this for the CFBundleShortString and that param gets passed right. There must be something we are missing.

          Daniel Brooks added a comment - +1 for a fix here. I'm going to look at the code here. I am using this for the CFBundleShortString and that param gets passed right. There must be something we are missing.

          Daniel Brooks added a comment - - edited

          From what I can tell it looks like the params are not getting passed from Jenkins as the changed variables. Unless there is something fancy that needs to be done to grab the right env variables. Does anyone know of documentation anywhere?

          Daniel Brooks added a comment - - edited From what I can tell it looks like the params are not getting passed from Jenkins as the changed variables. Unless there is something fancy that needs to be done to grab the right env variables. Does anyone know of documentation anywhere?

          Glenn Austin added a comment -

          I've done this successfully, using ${YOUR_AXIS_NAME_HERE} in the appropriate fields in the Xcode plugin configuration, e.g. General Build Settings>Target.

          Glenn Austin added a comment - I've done this successfully, using ${YOUR_AXIS_NAME_HERE} in the appropriate fields in the Xcode plugin configuration, e.g. General Build Settings>Target.

            Unassigned Unassigned
            kinwah kinwah lai
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: