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

Jenkinsfile pipeline job no longer creating an IPA

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not A Defect
    • xcode-plugin
    • Jenkins Master:
      Centos 7
      Jenkins 2.155
      openjdk version "1.8.0_191"

      iMac Agent:
      High Sierra
      Xcode 10.0

      Plugin:
      Xcode integration 2.10 (also 2.08)

    Description

      We have an app we don't need to build very often.  When I last worked on it, I spent some time moving it to a Jenkinsfile so we could make use of pipeline. This was working roughly three months ago.  Attempting some updates now and the build phase completes, but no ipa file is created (causing the archive stage to fail as no file matches).

      I have the non pipeline build job hanging around, and this still works and creates the IPA file as expected.  I guess the Jenkinsfile parser has changed at some point, and perhaps something in my jenkinsfile is implicitly blocking the creation of the ipa file.

      Attachments

        Activity

          hazmeister
          I'm sorry!
          In order to generate an IPA file after building the application, ’buildIpa: true’ is required as a parameter of the pipeline script section 'xcodeBuild'.
          Since the default value of buildIpa is false, IPA files are not output unless this setting is made.

          kazuhidet Kazuhide Takahashi added a comment - hazmeister I'm sorry! In order to generate an IPA file after building the application, ’buildIpa: true’ is required as a parameter of the pipeline script section 'xcodeBuild'. Since the default value of buildIpa is false, IPA files are not output unless this setting is made.
          hazmeister Harry King added a comment -

          Brill, that seems to have been the property I was missing. Thanks for the help!

          hazmeister Harry King added a comment - Brill, that seems to have been the property I was missing. Thanks for the help!
          hazmeister Harry King added a comment -

          buildIpa: true is now required.

          hazmeister Harry King added a comment - buildIpa: true is now required.

          People

            Unassigned Unassigned
            hazmeister Harry King
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: