Closed andrew-sumner closed 2 years ago
Not with the current package.
It might be possible to update the chocolateyInstall.ps1
script to handle this. Maybe it could create n
instances of the agent given an extra parameter.
If you're interested then feel free to create a PR.
I've gave up on that and instead delete 'C:\ProgramData\chocolatey\lib\azure-pipelines-agent.{{ az_devops_agent_version }}' on target server before deploying next package. Dirty but works.
I believe the answer is no due to chocolatey not allowing multiple packages with the same version (see https://github.com/chocolatey/choco/issues/1022), however I thought I'd check in to see if there is a work around.