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
Version 6 of the Octopus extension for Azure DevOps no longer requires the Octopus CLI to be installed.
14
+
Version 6 of the Octopus extension for Azure DevOps no longer requires the Octopus CLI to be installed. Instead, v6+ steps call the Executions API directly, which requires Octopus Server 2022.3 or later. Learn more about this change in our [Azure DevOps extension v6 blog post](https://octopus.com/blog/azure-devops-octopus-v6).
15
15
16
16
The use of the **Additional Arguments** field has been deprecated and is only left in place to ease migration from earlier versions.
17
17
:::
18
18
19
+
:::div{.hint}
20
+
You can still write a YAML pipeline that calls the Octopus CLI yourself. See [Installing the Octopus CLI as a capability](/docs/packaging-applications/build-servers/tfs-azure-devops/using-octopus-extension/install-octopus-cli-capability) for more information.
21
+
:::
22
+
19
23
We've created a [public extension](https://marketplace.visualstudio.com/items/octopusdeploy.octopus-deploy-build-release-tasks) you can install into your Azure DevOps instance. This extension makes the following tasks available to your Build and Release processes:
20
24
21
25
- The Octopus Tools installer task.
@@ -80,7 +84,7 @@ Version 6+ of each of the steps, no longer requires View permissions.
80
84
- DeploymentView (for the dashboard widget)
81
85
- TaskView (for the dashboard widget)
82
86
- BuildInformationPush (for pushing build information to Octopus)
83
-
- BuildInformationAdminister (required if `Overwrite Mode` is set to `Overwrite Existing`)
87
+
- BuildInformationAdminister (required if `Overwrite Mode` is set to `Overwrite Existing`)
84
88
85
89
## Demands and the Octopus tools installer task
86
90
@@ -319,9 +323,9 @@ Hover over the widget and click the wrench icon to configure the widget.
319
323
Select an Octopus Deploy connection (see the [Add a Connection](#add-a-connection-to-octopus-deploy) section for details), a Project, and an Environment.

Copy file name to clipboardExpand all lines: src/pages/docs/packaging-applications/build-servers/tfs-azure-devops/using-octopus-extension/install-octopus-cli-capability.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: src/layouts/Default.astro
3
3
pubDate: 2023-01-01
4
-
modDate: 2023-01-01
4
+
modDate: 2026-07-13
5
5
title: Installing the Octopus CLI as a capability
6
6
description: This guide covers how to add the Octopus CLI as a capability to your Azure DevOps custom build agents.
7
7
---
@@ -84,6 +84,12 @@ Version 6+ of each of the steps no longer require installing the CLI
84
84
85
85
Version 6 of the Octo CLI installer will only install the new [Octopus CLI](https://github.com/OctopusDeploy/cli).
86
86
87
+
:::div{.hint}
88
+
**Using the CLI directly in a YAML pipeline**
89
+
90
+
The other v6+ tasks in this extension (for example, **Create Octopus Release** or **Deploy Octopus Release**) call the [Executions API](https://octopus.com/blog/azure-devops-octopus-v6) directly and no longer use the Octopus CLI under the hood. If you'd rather call the CLI yourself: install it with the **Octopus CLI Installer** task, then call `octopus` directly from a script step in your pipeline.
91
+
:::
92
+
87
93
## Using the Octopus CLI with Self-Hosted Agents
88
94
89
95
Self-hosted agents provide the ability to install tools that are required for builds and deployments. They can also improve build performance since their associated configuration is persisted between runs.
@@ -111,7 +117,7 @@ These task demands were introduced and mandated in version 5 to ensure the avail
111
117
112
118
If this user-defined capability described above is not defined for self-hosted agents then jobs will fail with the following error:
113
119
114
-
```
120
+
```text
115
121
No agent found in pool [POOL-NAME] which satisfies demands: octo
0 commit comments