git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v1] travis-ci: handle Git for Windows CI status "failed" explicitly

From
Lars Schneider <larsxschneider@gmail.com>
Date
Apr 29, 2017, 18:59 UTC
Message-ID
<20170429185958.10560-1-larsxschneider@gmail.com>

Git for Windows CI returns "completed: failed" if a build or test failure happened. This case was processed as "Unhandled status". Handle the case explicitly.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
---
Notes:
    Base Ref: next
    Web-Diff: https://github.com/larsxschneider/git/commit/57840905a5
    Checkout: git fetch https://github.com/larsxschneider/git travisci/win-fail-v1 && git checkout 57840905a5
 ci/run-windows-build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ci/run-windows-build.sh b/ci/run-windows-build.sh
index e043440799..1bb3a021ee 100755
--- a/ci/run-windows-build.sh
+++ b/ci/run-windows-build.sh
@@ -61,7 +61,8 @@ do
 	case "$STATUS" in
 	inProgress|postponed|notStarted) sleep 10               ;; # continue
 		 "completed: succeeded") RESULT="success"; break;; # success
-	*) echo "Unhandled status: $STATUS";               break;; # failure
+		    "completed: failed")                   break;; # failure
+	*) echo "Unhandled status: $STATUS";               break;; # unknown
 	esac
 done
 

base-commit: 1ea7e62026c5dde4d8be80b2544696fc6aa70121
-- 
2.12.2
Message 1 of 1 in “travis-ci: handle Git for Windows CI status "failed" explicitly”
  1. travis-ci: handle Git for Windows CI status "failed" explicitlyLars Schneider, Apr 29, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.