VSTS Create Release step fails if release notes from changelog comments is enabled

We run our builds in VSTS and use the Octopus extension to push the generated packages to Octopus and create releases. Some time earlier today, our builds started failing during the “Create Octopus Release” step.

Here is the step log from VSTS:

2018-07-31T05:54:23.4153562Z ##[section]Starting: Create Octopus Release
2018-07-31T05:54:23.4160017Z ==============================================================================
2018-07-31T05:54:23.4160473Z Task         : Create Octopus Release
2018-07-31T05:54:23.4161319Z Description  : Create a Release in Octopus Deploy
2018-07-31T05:54:23.4161566Z Version      : 2.0.135
2018-07-31T05:54:23.4161772Z Author       : Octopus Deploy
2018-07-31T05:54:23.4162095Z Help         : Version: 2.0.135. [More Information](http://docs.octopusdeploy.com/display/OD/Use+the+Team+Foundation+Build+Custom+Task)
2018-07-31T05:54:23.4163056Z ==============================================================================
2018-07-31T05:54:25.2613193Z Environment = GitHub
2018-07-31T05:54:25.2621069Z Comments = True, WorkItems = False
2018-07-31T05:54:29.6826399Z Related Changes =                        
2018-07-31T05:54:29.7108428Z Adding commit messages to release notes
2018-07-31T05:54:30.4707815Z ##[error]Cannot bind argument to parameter 'Path' because it is null.
2018-07-31T05:54:30.4928293Z ##[section]Finishing: Create Octopus Release

This was working earlier today, and it still works if I disable the option “Include Changeset Comments”.

We are running Octopus 2018.7.2, but this seems to be wholly on the VSTS side.

Incidentally, our source code is in Github, but the generated links seem to assume that the source is in VSTS-hosted git - i.e. the url is https://(mycompany).visualstudio.com/(some-guid)/_git/(project)/commit/(sha1) instead of https://github.com/(mycompany)/(project)/commit/(sha1)

Hi Jon, thanks for reaching out.

We have released a new version (3.0.162) of the TFS plugin - https://marketplace.visualstudio.com/items?itemName=octopusdeploy.octopus-deploy-build-release-tasks. Can you try installing that version and see if it resolves the issue?

Hi Matthew,

Seems to be working nicely again now, thanks! Should I report the thing about the links going to VSTS instead of github separately?

Hi Jon, I’m glad to hear that the builds are working now.

I have created a GitHub issue at https://github.com/OctopusDeploy/OctoTFS/issues/96 to track the URL generation problem you have described.

Regards
Matt C

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.