Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1082

Generate script succeeds even when the build script fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.0
    • 2.8.0
    • iOS
    • Security Level: Public
    • None
    • 2

    Description

      Generate script was succeeding even when the build script fails.

      Solution

      • xcpretty was retuning zero status, bash default uses the exit code of the last command.
      • we now use the exit code of the pipeline from pipestatus array

      https://github.com/couchbase/couchbase-lite-ios/pull/2687

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Jayahari.Vavachan Jay Vavachan
              Jayahari.Vavachan Jay Vavachan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty