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

Side by Side Diff: scripts/slave/recipe_modules/step/example.expected/basic.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 }, 83 },
75 { 84 {
76 "cmd": [ 85 "cmd": [
77 "python", 86 "python",
78 "test-wrapper.py", 87 "test-wrapper.py",
79 "-v", 88 "-v",
80 "--", 89 "--",
81 "echo", 90 "echo",
82 "main", 91 "main",
83 "application" 92 "application"
84 ], 93 ],
94 "cwd": "[SLAVE_BUILD]",
85 "name": "application" 95 "name": "application"
86 }, 96 },
87 { 97 {
88 "name": "$final_result", 98 "name": "$final_result",
89 "reason": "Warning, robots approaching!", 99 "reason": "Warning, robots approaching!",
90 "status_code": 1 100 "status_code": 1
91 } 101 }
92 ] 102 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/step/api.py ('k') | scripts/slave/recipe_modules/step/example.expected/defer_results.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698