OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "[BUILD]/scripts/slave/git_setup.py", | |
7 "--path", | |
8 "[TMP_BASE]/patch_tmp_1", | |
9 "--url", | |
10 "http://patch.url/" | |
11 ], | |
12 "cwd": "[SLAVE_BUILD]", | |
13 "name": "patch git setup" | |
14 }, | |
15 { | |
16 "cmd": [ | |
17 "git", | |
18 "fetch", | |
19 "origin", | |
20 "johndoe#123.diff" | |
21 ], | |
22 "cwd": "[TMP_BASE]/patch_tmp_1", | |
23 "name": "patch fetch" | |
24 }, | |
25 { | |
26 "cmd": [ | |
27 "git", | |
28 "clean", | |
29 "-f", | |
30 "-d", | |
31 "-x" | |
32 ], | |
33 "cwd": "[TMP_BASE]/patch_tmp_1", | |
34 "name": "patch clean" | |
35 }, | |
36 { | |
37 "cmd": [ | |
38 "git", | |
39 "checkout", | |
40 "-f", | |
41 "FETCH_HEAD" | |
42 ], | |
43 "cwd": "[TMP_BASE]/patch_tmp_1", | |
44 "name": "patch git checkout" | |
45 }, | |
46 { | |
47 "cmd": [ | |
48 "patch", | |
49 "--dir", | |
50 "[SLAVE_BUILD]", | |
51 "--force", | |
52 "--forward", | |
53 "--remove-empty-files", | |
54 "--strip", | |
55 "0", | |
56 "--input", | |
57 "[TMP_BASE]/patch_tmp_1/patch.diff" | |
58 ], | |
59 "cwd": "[SLAVE_BUILD]", | |
60 "name": "apply patch" | |
61 }, | |
62 { | |
63 "cmd": [ | |
64 "rm", | |
65 "-rf", | |
66 "[TMP_BASE]/patch_tmp_1" | |
67 ], | |
68 "cwd": "[SLAVE_BUILD]", | |
69 "name": "remove patch" | |
70 }, | |
71 { | |
72 "cmd": [ | |
73 "git", | |
74 "diff", | |
75 "--cached", | |
76 "--name-only" | |
77 ], | |
78 "cwd": "[SLAVE_BUILD]/v8", | |
79 "name": "git diff to analyze patch", | |
80 "stdout": "/path/to/tmp/", | |
81 "~followup_annotations": [ | |
82 "@@@STEP_LOG_LINE@files@v8/foo.cc@@@", | |
83 "@@@STEP_LOG_END@files@@@", | |
84 "@@@SET_BUILD_PROPERTY@failure_type@\"INVALID_TEST_RESULTS\"@@@", | |
85 "@@@SET_BUILD_PROPERTY@subproject_tag@\"v8\"@@@" | |
86 ] | |
87 }, | |
88 { | |
89 "cmd": [ | |
90 "python", | |
91 "-u", | |
92 "import sys; sys.exit(1)" | |
93 ], | |
94 "cwd": "[SLAVE_BUILD]", | |
95 "name": "fail", | |
96 "~followup_annotations": [ | |
97 "step returned non-zero exit code: 1", | |
98 "@@@STEP_TEXT@foo@@@", | |
99 "@@@STEP_FAILURE@@@", | |
100 "@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a
70e7\"@@@" | |
101 ] | |
102 }, | |
103 { | |
104 "name": "$result", | |
105 "reason": "Step('fail') failed with return_code 1", | |
106 "status_code": 1 | |
107 } | |
108 ] | |
OLD | NEW |