def run(self, buildid):
        path = '/builds/' + str(buildid) + '/restart'
        response = self._perform_request(path, method='POST')
        return response.content
Restart a build by providing it's id
dataset/ETHPy150Open StackStorm/st2contrib/packs/travis_ci/actions/restart_build.py/RestartBuildAction.run