The lack of a
--package argument to the
octo push command indicates that Team City could not resolve the supplied package paths to a file. Paths that don’t exist are ignored, and in this case because there is just one path, this means no packages are passed to the octo push command.
I would recommend adding a Powershell step before the Octopus Push step to print the value of any variables you are using, and to verify that the files exist. In the screenshot below I have a simple Powershell step that prints the value of the
%teamcity.build.workingDir% variable, and uses a
ls command to verify that the file exists.
You can then see in the build logs the value of the variables and a directory listing showing the
test.txt files does exist.