I have not done the custom install script, I installed the Octopus CLI on the server manually for now.
I’ve configured the tools, and it works if I’m using a free style project with the build-information step.
When I run it from a pipeline, using the octo.exe build-information, it can’t locate the buildinfo.json (because it doesn’t exist).
When I run from pipeline using plugin, I get
[Pipeline] octopusPushBuildInformation (hide) FATAL: Failed to push the build information: null
When I run from from Jenkins Script console:
println (octopusPushBuildInformation additionalArgs: ‘’, commentParser: ‘Jira’, overwriteMode: ‘OverwriteExisting’, packageId: ‘my.packagename’, packageVersion: ‘my.package.version’, serverId: ‘my.octopus.server’, spaceId: ‘Spaces-1’, toolId: ‘Default’, verboseLogging: true, giturl: ‘my.git.url’, gitcommit: ‘my.gitcommit’)
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 1: unexpected token: additionalArgs @ line 1, column 38.
Jenkins 2.204.5
Octopus Deploy Command Line Tool, version 7.4.1
Handshake successful. Octopus version: 2020.3.2; API version: 3.0.0