You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tasks/ShellScriptV2/Strings/resources.resjson/en-US/resources.resjson
+2-1
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,6 @@
15
15
"loc.input.label.failOnStandardError": "Fail on Standard Error",
16
16
"loc.input.help.failOnStandardError": "If this is true, this task will fail if any errors are written to the StandardError stream.",
17
17
"loc.messages.BashReturnCode": "Bash exited with return code: %d",
18
-
"loc.messages.BashFailed": "Bash failed with error: %s"
18
+
"loc.messages.BashFailed": "Bash failed with error: %s",
19
+
"loc.messages.BashFailedWithCode137": "Bash exited with code 137, which means it ran out of memory. Make sure the agent (container) host has sufficient memory configured."
"helpMarkDown": "Relative path from repo root of the shell script file to run."
42
+
},
43
+
{
44
+
"name": "args",
45
+
"type": "string",
46
+
"label": "Arguments",
47
+
"defaultValue": "",
48
+
"required": false,
49
+
"helpMarkDown": "Arguments passed to the shell script"
50
+
},
51
+
{
52
+
"name": "disableAutoCwd",
53
+
"type": "boolean",
54
+
"label": "Specify Working Directory",
55
+
"defaultValue": "false",
56
+
"required": false,
57
+
"helpMarkDown": "The default behavior is to set the working directory to the script location. This enables you to optionally specify a different working directory.",
"helpMarkDown": "Relative path from repo root of the shell script file to run."
42
-
},
43
-
{
44
-
"name": "args",
45
-
"type": "string",
46
-
"label": "Arguments",
47
-
"defaultValue": "",
48
-
"required": false,
49
-
"helpMarkDown": "Arguments passed to the shell script"
50
-
},
51
-
{
52
-
"name": "disableAutoCwd",
53
-
"type": "boolean",
54
-
"label": "Specify Working Directory",
55
-
"defaultValue": "false",
56
-
"required": false,
57
-
"helpMarkDown": "The default behavior is to set the working directory to the script location. This enables you to optionally specify a different working directory.",
58
-
"groupName": "advanced"
59
-
},
60
-
{
61
-
"name": "cwd",
62
-
"type": "filePath",
63
-
"label": "Working Directory",
64
-
"defaultValue": "",
65
-
"required": false,
66
-
"visibleRule": "disableAutoCwd = true",
67
-
"helpMarkDown": "Current working directory where the script is run. Empty is the root of the repo (build) or artifacts (release), which is $(System.DefaultWorkingDirectory).",
68
-
"groupName": "advanced"
69
-
},
70
-
{
71
-
"name": "failOnStandardError",
72
-
"type": "boolean",
73
-
"label": "Fail on Standard Error",
74
-
"defaultValue": "false",
75
-
"required": false,
76
-
"helpMarkDown": "If this is true, this task will fail if any errors are written to the StandardError stream.",
77
-
"groupName": "advanced"
78
-
}
79
-
],
80
-
"execution": {
81
-
"Node10": {
82
-
"target": "shellscript.js",
83
-
"argumentFormat": ""
84
-
},
85
-
"Node16": {
86
-
"target": "shellscript.js",
87
-
"argumentFormat": ""
88
-
}
60
+
{
61
+
"name": "cwd",
62
+
"type": "filePath",
63
+
"label": "Working Directory",
64
+
"defaultValue": "",
65
+
"required": false,
66
+
"visibleRule": "disableAutoCwd = true",
67
+
"helpMarkDown": "Current working directory where the script is run. Empty is the root of the repo (build) or artifacts (release), which is $(System.DefaultWorkingDirectory).",
68
+
"groupName": "advanced"
69
+
},
70
+
{
71
+
"name": "failOnStandardError",
72
+
"type": "boolean",
73
+
"label": "Fail on Standard Error",
74
+
"defaultValue": "false",
75
+
"required": false,
76
+
"helpMarkDown": "If this is true, this task will fail if any errors are written to the StandardError stream.",
77
+
"groupName": "advanced"
78
+
}
79
+
],
80
+
"execution": {
81
+
"Node10": {
82
+
"target": "shellscript.js",
83
+
"argumentFormat": ""
89
84
},
90
-
"messages": {
91
-
"BashReturnCode": "Bash exited with return code: %d",
92
-
"BashFailed": "Bash failed with error: %s"
85
+
"Node16": {
86
+
"target": "shellscript.js",
87
+
"argumentFormat": ""
93
88
}
89
+
},
90
+
"messages": {
91
+
"BashReturnCode": "Bash exited with return code: %d",
92
+
"BashFailed": "Bash failed with error: %s",
93
+
"BashFailedWithCode137": "Bash exited with code 137, which means it ran out of memory. Make sure the agent (container) host has sufficient memory configured."
Copy file name to clipboardExpand all lines: _generated/ShellScriptV2/Strings/resources.resjson/en-US/resources.resjson
+2-1
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,6 @@
15
15
"loc.input.label.failOnStandardError": "Fail on Standard Error",
16
16
"loc.input.help.failOnStandardError": "If this is true, this task will fail if any errors are written to the StandardError stream.",
17
17
"loc.messages.BashReturnCode": "Bash exited with return code: %d",
18
-
"loc.messages.BashFailed": "Bash failed with error: %s"
18
+
"loc.messages.BashFailed": "Bash failed with error: %s",
19
+
"loc.messages.BashFailedWithCode137": "Bash exited with code 137, which means it ran out of memory. Make sure the agent (container) host has sufficient memory configured."
Copy file name to clipboardExpand all lines: _generated/ShellScriptV2/task.json
+5-4
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@
17
17
"author": "Microsoft Corporation",
18
18
"version": {
19
19
"Major": 2,
20
-
"Minor": 231,
20
+
"Minor": 236,
21
21
"Patch": 0
22
22
},
23
23
"demands": [
@@ -89,10 +89,11 @@
89
89
},
90
90
"messages": {
91
91
"BashReturnCode": "Bash exited with return code: %d",
92
-
"BashFailed": "Bash failed with error: %s"
92
+
"BashFailed": "Bash failed with error: %s",
93
+
"BashFailedWithCode137": "Bash exited with code 137, which means it ran out of memory. Make sure the agent (container) host has sufficient memory configured."
0 commit comments