Send service messages for robot framework through ssh connections

I am trying to send service messages through robot framework since teamcity does not have plugin for robot.

I created below file in robot as 

class TeamCityListener():


    def start_suite(self, name, attrs):
        sys.__stdout__.write("##teamcity[testSuiteStarted name='{name}']\n".format(name=name))
        print 'hi'

In teamcity `Build step: command line` I added

` ssh user@testmachine

pybot --listener --console none test.robot `

But when I run in project I see Step 1/1 and them Success Do I have to add anything on teamcity side? Before running pybot I'm sshing into machine, maybe that's the reason?

Please sign in to leave a comment.