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

Xcode 10 parallel builds are not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • xcode-plugin
    • None
    • Xcode 10

      https://github.com/jenkinsci/xcode-plugin/blob/master/src/main/java/au/com/rayh/XCodeBuildOutputParser.java

      The following patterns are invalid with the new Xcode build system that allows for parallel execution of iOS text cases

      Pattern START_SUITE = Pattern.compile("Test Suite '([^/].+)'.*started at\\s+(.*)");
      Pattern END_SUITE = Pattern.compile("Test Suite '([^/].+)'.*\\S+ at\\s+(.*).");
      Pattern START_TESTCASE = Pattern.compile("Test Case '-\\[\\S+\\s+(\\S+)\\]' started.");
      Pattern END_TESTCASE = Pattern.compile("Test Case '-\\[\\S+\\s+(\\S+)\\]' passed \\((.*) seconds\\).");
      

      Here's a sample of the new output:

      16:51:22 Test suite 'MyTests' started on 'Clone 3 of iPhone 8 - MyApp.app (78101)'
      16:51:22 Test case 'MyClassTests.testBasic()' passed on 'Clone 3 of iPhone 8 - MyApp.app (78101)' (0.001 seconds)
      16:51:22 Test case 'MyClassTests.testComplicated()' passed on 'Clone 1 of iPhone 8 - MyApp.app (77847)' (3.713 seconds)
      16:51:22 Test case 'MyClassTests.testUncomplicated()' passed on 'Clone 1 of iPhone 8 - MyApp.app (77847)' (0.014 seconds)

            Unassigned Unassigned
            claus_joergensen Claus Joergensen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: