Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-5118

Travis CI: Failed jobs should be red

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.7.23-25, 5.6.42-84.2, 8.0.x
    • Fix Version/s: 8.0.13-3, 5.6.43-84.3, 5.7.25-28
    • Component/s: None
    • Labels:

      Description

      The following commit for PS-4881
      https://github.com/percona/percona-server/commit/ff5ae4c5a7411135324131cfc94396707fc0f6b4#diff-354f30a63fb0907d4ad57269548329e3

      added the last line

      $TIMEOUT_CMD $TIMEOUT_TIME make -j2;
      if [[ "$?" == "0" ]]; then echo $TRAVIS_COMMIT > $CCACHE_DIR/last_commit.txt; fi;
      

      To detect failed jobs we should use:

      if [[ "$?" == "0" ]]; then echo $TRAVIS_COMMIT > $CCACHE_DIR/last_commit.txt; else false; fi;
      

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              przemyslaw.skibinski Przemyslaw Skibinski
              Reporter:
              przemyslaw.skibinski Przemyslaw Skibinski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h