The builds getting triggered from team city are sending the commit information to Octopus however it seems octopus doesn’t seem to read this information and show it up in the commits section of the releases.
Please let us know which logs to look for or which configuration to change for fixing this issue.
Firstly, within Teamcity, do you have a Create Release step and if so, does it occur before or after the Push Build Information step? If it is running before it then re-ordering this to come afterwards may resolve the issue.
The next thing to check would be within Octopus. If you go to Library > Packages and select a relevant package does it display the Build Information?
e.g.
We checked our build configuration steps, we do have Create Release step in teamcity and “Create Release” step occur after the “Push Build information” step.
the issue remains same.
However In Octopus, When I go to Library->Packages->Click on recent package-> All I can see the package details, but I don’t see the build information section.
We checked the Build Information page (Library > Build Information) , this is blank for newer deployments, In our build server we can see the build information passed to Octopus with commit id (Jira ID), but i don’t see any build information in Octopus. I also tested Jira connection from Octopus to Jira, it seems fine.
Could you please suggest what could be the issue here.Is there any step we need to add in Process deployment steps?
If there are no Build Information packages being added when the build pipeline runs then that is likely the problem.
The Commit information is included within the Build Information package and this is then used by the Jira integration to retrieve the relevant work items.
It would be worth taking a look at the Push Build Information step and ensure that it is configured correctly. Not targeting an incorrect Space for example.
If you want to add the logs for the Push Package and Push Build Information steps we can take a look through them too.
I did few changes in the build config and now i am able to see build information in Octopus. However, work items and Jira integration is still not working, I can see in the build information but i dont see my Jira ticket number in Octopus and vice-versa.
Please refer attached screenshot:
Good to hear the build information is now appearing.
The Jira work items are handled by a separate integration. If you head to Configuration > Settings > Jira integration has that been configured fully and does it return successfully when using the Test button?
Full details on the Jira integration configuration can be found here.