On 3 April 2018 at 05:41, Chetan Sharma chetan.sharma@timesys.com wrote:
Thanks Allot Senthil But it is possible only if we are submitting job from lavacli.
Or some other script which manages XMLRPC test job submissions - a simple 4 line python script is all you need to submit but you need to use something based on ZMQ to get the proper notification of when the submitted test job has completed.
Can we trigger another task If we submit job from LAVA Server Webpage.
You can setup notifications (IRC or email) but that is not intended as a way to trigger a task other than a human responding to the notification.
On Tue, Apr 3, 2018 at 7:59 AM, Senthil Kumaran S < senthil.kumaran@linaro.org> wrote:
Hi Chetan,
On Monday 02 April 2018 03:17 PM, Chetan Sharma wrote:
Can we trigger a another job/task of completion of one
TestJob ? Can you share any reference if we can perform this action.
Using lavacli you can do this as seen in https://gist.github.com/stylesen/cb93346481f43a0c899b7c1e58473d33
There are other methods of doing it with the help of calling XML-RPC APIs using a python script, etc.
The latest version of lavacli is available via Debian - https://packages.debian.org/search?keywords=lavacli
Thank You.
Senthil Kumaran S http://www.stylesen.org/ http://www.sasenthilkumaran.com/
-- Thanks & Regards Chetan Sharma
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users