|
52 | 52 | "CommandKeywordDetected": "'{0}' contains logging command keyword '##vso', but it's not a legal command. Please reference documentaion to fix any potentially syntax error (http://go.microsoft.com/fwlink/?LinkId=817296)",
|
53 | 53 | "CommandNotFound": "Can't find command extension for ##vso[{0}.command]. Please reference documentaion (http://go.microsoft.com/fwlink/?LinkId=817296)",
|
54 | 54 | "CommandProcessFailed": "Unable to process command '{0}' successfully. Please reference documentaion (http://go.microsoft.com/fwlink/?LinkId=817296)",
|
55 |
| - "ConfiguredAsRunAsService": "Agent is configured to run as service.", |
56 | 55 | "ConnectingToServer": "Connecting to server ...",
|
57 | 56 | "ConnectSectionHeader": "Connect",
|
58 | 57 | "ConnectToServer": "Connecting to the server.",
|
|
125 | 124 | "Visual Studio Team Services Agent",
|
126 | 125 | "Copyright (c) Microsoft Corporation",
|
127 | 126 | "",
|
128 |
| - "Run from the directory above the bin agent folder to allow for updates", |
| 127 | + "Run the agent using the convenience cmd or shell script wrappers.", |
129 | 128 | "",
|
130 |
| - "Alternatively, you can run the convenience cmd or shell script wrappers.", |
131 |
| - "Arguments will be passed along", |
| 129 | + "Print agent version information:", |
| 130 | + "Win : .\\config.cmd --version and config.cmd --commit", |
| 131 | + "Unix : ./config.sh --version and ./config.sh --commit", |
132 | 132 | "",
|
133 |
| - "Win : run.cmd [command(s)] [arguments] [options]", |
134 |
| - "Unix : ./run.sh [command(s)] [arguments] [options]", |
| 133 | + "Display command line help:", |
| 134 | + "Win : .\\config.cmd --help", |
| 135 | + "Unix : ./config.sh --help", |
135 | 136 | "",
|
136 |
| - "Command to configure:", |
137 |
| - "Win : config.cmd [command(s)] [arguments] [options]", |
138 |
| - "Unix : ./config.sh [command(s)] [arguments] [options]", |
| 137 | + "Configure the agent and exit:", |
| 138 | + "Win : .\\config.cmd [arguments] [options]", |
| 139 | + "Unix : ./config.sh [arguments] [options]", |
139 | 140 | "",
|
140 |
| - "Command to uninstall:", |
141 |
| - "Win : config.cmd remove", |
| 141 | + "Unconfigure the agent:", |
| 142 | + "Win : .\\config.cmd remove", |
142 | 143 | "Unix : ./config.sh remove",
|
143 | 144 | "",
|
144 |
| - "usage:", |
145 |
| - "bin/Agent.Listener [command(s)] [arguments] [options]", |
146 |
| - "", |
147 |
| - "It is common to just run Agent or Agent.Listener with no arguments for an interactive configuration.", |
148 |
| - "You will be prompted and walked through all options.", |
149 |
| - "", |
150 |
| - "", |
151 |
| - "Commands:", |
152 |
| - "-----------------------------------------------------------------------------", |
153 |
| - "(none) Interactively configure and then run the agent.", |
154 |
| - " You will be prompted for data.", |
155 |
| - "configure Configure the agent and exit.", |
156 |
| - "remove Unconfigure the agent.", |
157 |
| - "run Runs the agent interactively. must be configured.", |
| 145 | + "Run agent interactively (must be configured):", |
| 146 | + "Win : .\\run.cmd [arguments] [options]", |
| 147 | + "Unix : ./run.sh [arguments] [options]", |
158 | 148 | "",
|
159 | 149 | "",
|
160 | 150 | "Configure Arguments:",
|
161 | 151 | "-----------------------------------------------------------------------------",
|
162 | 152 | "--url URL of the server. Examples:",
|
163 | 153 | " https://myaccount.visualstudio.com or http://onprem:8080/tfs",
|
164 |
| - "--agent Agent name", |
165 |
| - "--pool Pool name for agent to join", |
166 |
| - "--windowslogonaccount Windows logon account name if runasservice option is chosen", |
167 |
| - "--windowslogonpassword Windows logon account password if runasservice option is chosen", |
168 | 154 | "--auth Authentication type. Valid options are PAT (Personal Access Token),",
|
169 |
| - " Negotiate (Kerberos or NTLM), Integrated (Windows default credentials) and", |
170 |
| - " ALT (Alternate Credentials)", |
| 155 | + " Negotiate (Kerberos or NTLM) and Integrated (Windows default credentials)", |
| 156 | + "--pool Pool name for agent to join", |
| 157 | + "--agent Agent name", |
171 | 158 | "--work Work directory where job data is stored.",
|
172 | 159 | " Defaults to _work under the root of the agent directory.",
|
173 | 160 | " Work directory is owned by a given agent and should not share between multiple agents.",
|
| 161 | + "--windowslogonaccount Windows logon account name if runasservice option is chosen (Only on Windows)", |
| 162 | + "--windowslogonpassword Windows logon account password if runasservice option is chosen (Only on Windows)", |
| 163 | + "", |
174 | 164 | "",
|
175 | 165 | "Remove Arguments:",
|
176 | 166 | "-----------------------------------------------------------------------------",
|
177 | 167 | "--auth Authentication type. Valid options are PAT (Personal Access Token),",
|
178 |
| - " Negotiate (Kerberos or NTLM), Integrated (Windows default credentials) and", |
179 |
| - " ALT (Alternate Credentials)", |
| 168 | + " Negotiate (Kerberos or NTLM) and Integrated (Windows default credentials)", |
| 169 | + "", |
180 | 170 | "",
|
181 | 171 | "Options:",
|
182 | 172 | "-----------------------------------------------------------------------------",
|
183 |
| - "--version Print the version", |
184 |
| - "--help Display command line help", |
185 |
| - "--unattended Unattended config. You will not be prompted.", |
186 |
| - " All answers must be supplied to the command line.", |
187 |
| - "--nostart Do not start the agent after interactive configuration.", |
188 |
| - "--runasservice Configure the agent as service", |
189 |
| - "--replace Replace the agent in a pool. If another agent is listening", |
190 |
| - " by that name, it will start failing with a conflict.", |
| 173 | + "--unattended Unattended config. You will not be prompted.", |
| 174 | + " All answers must be supplied to the command line.", |
| 175 | + "--acceptteeeula Accept TEE end user license agreement. (Only on Linux and OSX)", |
| 176 | + "--replace Replace the agent in a pool. If another agent is listening", |
| 177 | + " by that name, or it will start failing with a conflict.", |
| 178 | + "--runasservice Configure the agent as service. (Only on Windows, need administrator permission to configure windows service)", |
191 | 179 | "",
|
192 | 180 | "",
|
193 | 181 | "Arguments by Auth Type:",
|
|
201 | 189 | "",
|
202 | 190 | "Integrated: does not take any additional arguments",
|
203 | 191 | "",
|
204 |
| - "ALT:", |
205 |
| - "--username alternate username", |
206 |
| - "--password alternate password", |
207 | 192 | "",
|
208 |
| - "Examples:", |
| 193 | + "Unattended configure and unconfigure examples:", |
209 | 194 | "-----------------------------------------------------------------------------",
|
210 |
| - "Run with no arguments to start. will configure if not configured yet.", |
211 |
| - "$ bin/Agent.Listener", |
212 |
| - "", |
213 |
| - "Unattend configuration. Remember to check return codes", |
214 |
| - "bin/Agent.Listener configure --unattended --url https://myaccount.visualstudio.com --agent myagent --pool default --nostart --acceptteeeula --auth PAT --token o4u5... --work D:\\agent_work", |
215 |
| - "bin/Agent.Listener run", |
| 195 | + "Remember to check return code when using unattended configuration", |
| 196 | + "Unattend configuration for VSTS with PAT authentication", |
| 197 | + "Win : .\\config.cmd --unattended --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent", |
| 198 | + "Unix : ./config.sh --unattended --acceptteeeula --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent", |
216 | 199 | "",
|
217 | 200 | "Unattend configuration for on-premise TFS with integrated (windows) and (Linux/OSX) negotiate authentication",
|
218 |
| - "bin/Agent.Listener configure --unattended --url http://mylocaltfsserver:8080/tfs --agent myagent --pool default --nostart --acceptteeeula --auth integrated", |
219 |
| - "bin/Agent.Listener configure --unattended --url http://mylocaltfsserver:8080/tfs --agent myagent --pool default --nostart --acceptteeeula --auth negotiate --username DEV-BOX\\developer --password MyPassword" |
| 201 | + "Win : .\\config.cmd --unattended --url http://mylocaltfsserver:8080/tfs --auth Integrated --pool default --agent myagent", |
| 202 | + "Unix : ./config.sh --unattended --acceptteeeula --url http://mylocaltfsserver:8080/tfs --auth Negotiate --username DOMAIN\\USER_NAME --password MyPassword --pool default --agent myagent", |
| 203 | + "", |
| 204 | + "Unattend configuration for VSTS with PAT authentication and replace existing agent with same agent name", |
| 205 | + "Win : .\\config.cmd --unattended --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent --replace", |
| 206 | + "Unix : ./config.sh --unattended --acceptteeeula --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent --replace", |
| 207 | + "", |
| 208 | + "Unattend configuration for VSTS with PAT authentication and specify agent work directory", |
| 209 | + "Win : .\\config.cmd --unattended --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent --work D:\\agent_work", |
| 210 | + "Unix : ./config.sh --unattended --acceptteeeula --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent --work usr/local/agent_work", |
| 211 | + "", |
| 212 | + "Unattend configuration for on-premise TFS with integrated authentication and configure agent as Windows service run as NetworkService", |
| 213 | + "Win : .\\config.cmd --unattended --url http://mylocaltfsserver:8080/tfs --auth Integrated --pool default --agent myagent --runasservice", |
| 214 | + "", |
| 215 | + "Unattend configuration for on-premise TFS with integrated authentication and configure agent as Windows service run as a domain account", |
| 216 | + "Win : .\\config.cmd --unattended --url http://mylocaltfsserver:8080/tfs --auth Integrated --pool default --agent myagent --runasservice --windowslogonaccount DOMAIN\\USER_NAME --windowslogonpassword MyPassword", |
| 217 | + "", |
| 218 | + "Unattend unconfiguration for VSTS with PAT authentication", |
| 219 | + "Win : .\\config.cmd remove --unattended --auth PAT --token <token>", |
| 220 | + "Unix : ./config.sh remove --unattended --auth PAT --token <token>", |
| 221 | + "", |
| 222 | + "Unattend unconfiguration for on-premise TFS with integrated (windows) and (Linux/OSX) negotiate authentication", |
| 223 | + "Win : .\\config.cmd remove --unattended --auth Integrated", |
| 224 | + "Unix : ./config.sh remove --unattended --auth Negotiate --username DOMAIN\\USER_NAME --password MyPassword", |
| 225 | + "" |
220 | 226 | ],
|
221 | 227 | "ListenForJobs": "{0:u}: Listening for Jobs",
|
222 | 228 | "LocalClockSkewed": "The local machine's clock may be out of sync with the server time by more than five minutes. Please sync your clock with your domain or internet time and try again.",
|
|
0 commit comments