so according to document it has invoke the 'build script' (I created a dummy one for now) and then should run the 'project file' (gave an existing working project), but it's not starting the run. It just passes and comes back to prompt.
Please correct me if I've errors in that script, also please explain other parameters of run_plugin() method (I couldn't trace from it's definition).
Hi,
import xmlrpclib
twister_job = "twister" twister_build = "2.0" twister_status = "done"
server = xmlrpclib.ServerProxy('http://jai:gave_passwd@127.0.0.1:8000/')
to_send = 'Jenkins: Job
{0}
, Build{1}
, Status{2}
!'.format(twister_job, twister_build, twister_status) server.echo(to_send)server.run_plugin('jai', 'Jenkins', {"command":True, "build":twister_build})
and ran this script manually like
$python Jenkins_Post_Script.py $
so according to document it has invoke the 'build script' (I created a dummy one for now) and then should run the 'project file' (gave an existing working project), but it's not starting the run. It just passes and comes back to prompt.
Please correct me if I've errors in that script, also please explain other parameters of run_plugin() method (I couldn't trace from it's definition).
Thanks, Jai