This morning at 10am our tfs agents automatically downloaded the latest octopus cli:
Attempting to contact https://g.octopushq.com to find Octopus CLI tool version latest
However, since then the release notes .md is no longer being generated by the cli resulting in the cli failing to create a release.
SystemVssConnection exists true
cbfebccd-0239-4350-91ef-962b7df0d455 exists true
Attempting to contact https://g.octopushq.com to find Octopus CLI tool version latest
Checking local tool cache
Found tool in cache: octo 7.3.3 x64
Looking for d:\NewBuilds\Agent1_work_tool\octo\7.3.3\x64*octo.dll,d:\NewBuilds\Agent1_work_tool\octo\7.3.3\x64*Octo.dll
Prepending PATH environment variable with directory: d:\NewBuilds\Agent1_work_tool\octo\7.3.3\x64
Environment = TfsVersionControl
Comments = true, WorkItems = true
Adding changeset comments to release notes
adding work items to release notes
Release notes:
Changeset Comments:
- C78238 -John Doe: KACE 55867 - Add document to repo
Work Items:
C:\Windows\system32\cmd.exe /D /S /C “d:\NewBuilds\Agent1_work_tool\octo\7.3.3\x64\octo.cmd create-release “–project=Document Template API Service” “–releaseNumber=6.52.0.16-alpha” “–server=http://deploy/” “–apiKey=***” --enableServiceMessages “–releaseNotesFile=d:\NewBuilds\Agent1_work\4145\s\release-notes-219011f0-808f-11ea-8583-bfe3d73e4e68.md””
d:\NewBuilds\Agent1_work\4145\s>dotnet “d:\NewBuilds\Agent1_work_tool\Octo\7.3.3\x64/octo.dll” create-release “–project=Document Template API Service” “–releaseNumber=6.52.0.16-alpha” “–server=http://deploy/” “–apiKey=***” --enableServiceMessages “–releaseNotesFile=d:\NewBuilds\Agent1_work\4145\s\release-notes-219011f0-808f-11ea-8583-bfe3d73e4e68.md”
Unrecognized command arguments: --releaseNotesFile=d:\NewBuilds\Agent1_work\4145\s\release-notes-219011f0-808f-11ea-8583-bfe3d73e4e68.md
This error is most likely occurring while executing octo as part of an automated build process. The following doc is recommended to get some tips on how to troubleshoot this: https://g.octopushq.com/OctoexeTroubleshooting
Exit code: -1
Error: The process ‘d:\NewBuilds\Agent1_work_tool\octo\7.3.3\x64\octo.cmd’ failed with exit code 4294967295
Failed to deploy release The process ‘d:\NewBuilds\Agent1_work_tool\octo\7.3.3\x64\octo.cmd’ failed with exit code 4294967295