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

Side by Side Diff: scripts/slave/recipe_modules/step/example.expected/infra_failure.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "echo", 4 "echo",
5 "Hello World" 5 "Hello World"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]",
7 "name": "hello" 8 "name": "hello"
8 }, 9 },
9 { 10 {
10 "cmd": [ 11 "cmd": [
11 "echo", 12 "echo",
12 "Why hello, there." 13 "Why hello, there."
13 ], 14 ],
15 "cwd": "[SLAVE_BUILD]",
14 "name": "hello (2)" 16 "name": "hello (2)"
15 }, 17 },
16 { 18 {
17 "cmd": [ 19 "cmd": [
18 "bash", 20 "bash",
19 "-c", 21 "-c",
20 "echo Good bye, $friend." 22 "echo Good bye, $friend."
21 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
22 "env": { 25 "env": {
23 "friend": "Darth Vader" 26 "friend": "Darth Vader"
24 }, 27 },
25 "name": "goodbye" 28 "name": "goodbye"
26 }, 29 },
27 { 30 {
28 "cmd": [ 31 "cmd": [
29 "bash", 32 "bash",
30 "-c", 33 "-c",
31 "exit 3" 34 "exit 3"
32 ], 35 ],
36 "cwd": "[SLAVE_BUILD]",
33 "name": "anything is cool" 37 "name": "anything is cool"
34 }, 38 },
35 { 39 {
36 "cmd": [ 40 "cmd": [
37 "echo", 41 "echo",
38 "hello" 42 "hello"
39 ], 43 ],
44 "cwd": "[SLAVE_BUILD]",
40 "name": "hello (3)", 45 "name": "hello (3)",
41 "~followup_annotations": [ 46 "~followup_annotations": [
42 "@@@STEP_EXCEPTION@@@" 47 "@@@STEP_EXCEPTION@@@"
43 ] 48 ]
44 }, 49 },
45 { 50 {
46 "cmd": [ 51 "cmd": [
47 "echo", 52 "echo",
48 "goodbye" 53 "goodbye"
49 ], 54 ],
55 "cwd": "[SLAVE_BUILD]",
50 "name": "goodbye (2)" 56 "name": "goodbye (2)"
51 }, 57 },
52 { 58 {
53 "cmd": [ 59 "cmd": [
54 "echo", 60 "echo",
55 "testa" 61 "testa"
56 ], 62 ],
63 "cwd": "[SLAVE_BUILD]",
57 "name": "testa" 64 "name": "testa"
58 }, 65 },
59 { 66 {
60 "cmd": [ 67 "cmd": [
61 "echo", 68 "echo",
62 "testb" 69 "testb"
63 ], 70 ],
71 "cwd": "[SLAVE_BUILD]",
64 "name": "testb" 72 "name": "testb"
65 }, 73 },
66 { 74 {
67 "cmd": [ 75 "cmd": [
68 "echo", 76 "echo",
69 "cleaning", 77 "cleaning",
70 "up", 78 "up",
71 "build" 79 "build"
72 ], 80 ],
81 "cwd": "[SLAVE_BUILD]",
73 "name": "cleanup", 82 "name": "cleanup",
74 "~followup_annotations": [ 83 "~followup_annotations": [
75 "step returned non-zero exit code: 1", 84 "step returned non-zero exit code: 1",
76 "@@@STEP_EXCEPTION@@@" 85 "@@@STEP_EXCEPTION@@@"
77 ] 86 ]
78 }, 87 },
79 { 88 {
80 "cmd": [ 89 "cmd": [
81 "python", 90 "python",
82 "test-wrapper.py", 91 "test-wrapper.py",
83 "-v", 92 "-v",
84 "--", 93 "--",
85 "echo", 94 "echo",
86 "main", 95 "main",
87 "application" 96 "application"
88 ], 97 ],
98 "cwd": "[SLAVE_BUILD]",
89 "name": "application" 99 "name": "application"
90 }, 100 },
91 { 101 {
92 "name": "$final_result", 102 "name": "$final_result",
93 "reason": "Warning, robots approaching!", 103 "reason": "Warning, robots approaching!",
94 "status_code": 1 104 "status_code": 1
95 } 105 }
96 ] 106 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698