Octopus push metadata step in bamboo giving error

(Jahangir5201) #1

my build plan always fails with this error message . what am doing wrong ??

(Ziaul Islam) #2

Hi Jahangir,

Sorry to see that you are experiencing this issue.

The reason behind this issue, Metadata step requires access to the commit details, and that isn’t available in a Deployment project, you need to use the plugin within the Build project.

The DeploymentTaskContextImpl is what gets passed to us in this case, and it doesn’t have the method to get the commit details, which causes the exception.

I hope this helps. Any questions, please feel free to reach out to me. :slight_smile:

kind regards,

(Jahangir5201) #4

Thanks ziaul Islam for response , but I am getting this error in build project not in deployment project .

(Ziaul Islam) #6

Hi Jahangir,

Sorry to see the issue is persisting,

Can you check if the VCS root is connected, as this will cause it to fail.

Could you please also attach a screenshot so we could see if the configurations are correct.

kind regards,