Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: recipe_modules/tryserver/example.expected/with_wrong_patch.json

Issue 1642023002: depot_tools: import bot_update gclient git rietveld tryserver recipe modules (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: presubmit Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/tryserver/example.expected/with_svn_patch.json ('k') | recipe_modules/tryserver/test_api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/tryserver/example.expected/with_wrong_patch.json
diff --git a/recipe_modules/tryserver/example.expected/with_wrong_patch.json b/recipe_modules/tryserver/example.expected/with_wrong_patch.json
new file mode 100644
index 0000000000000000000000000000000000000000..686dc43003640f71722e7847ce962f3591fe10ac
--- /dev/null
+++ b/recipe_modules/tryserver/example.expected/with_wrong_patch.json
@@ -0,0 +1,37 @@
+[
+ {
+ "cmd": [
+ "[DEPOT_TOOLS]\\git.bat",
+ "diff",
+ "--cached",
+ "--name-only"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "git diff to analyze patch",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@files@foo.cc@@@",
+ "@@@STEP_LOG_END@files@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "import sys; sys.exit(1)"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "fail",
+ "~followup_annotations": [
+ "step returned non-zero exit code: 1",
+ "@@@STEP_TEXT@foo@@@",
+ "@@@STEP_FAILURE@@@",
+ "@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a70e7\"@@@"
+ ]
+ },
+ {
+ "name": "$result",
+ "reason": "Step('fail') failed with return_code 1",
+ "status_code": 1
+ }
+]
« no previous file with comments | « recipe_modules/tryserver/example.expected/with_svn_patch.json ('k') | recipe_modules/tryserver/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698