Thanh Ha 7ffb27c7d5
Fix run_scripts() API
Resolve regression caused by I5369a0d35be4bf8b3b197a51e60aba21b5742cc7
preventing run_scripts() from successfully running against the remote
Jenkins instance.

Switching data to a dictionary and passing the script string without
quote() appears to allow the script to successfully run.

Add a magic string ')]}.' as an indicator of if the groovy script
successfully passed or failed. In theory if the groovy script failed
perhaps due to syntax error or some other reason the magic string
will not be printed and we can assume failure.

Change-Id: Ibaffb768ea82c76b44ec5a6cccde8563afe1783f
Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-06-15 11:37:46 -04:00
..
2012-05-17 16:10:00 +01:00
2018-04-25 12:36:20 +01:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00
2018-04-17 12:27:32 -06:00
2018-02-12 11:16:54 +00:00
2018-06-15 11:37:46 -04:00
2018-02-12 11:16:54 +00:00
2018-02-12 11:16:54 +00:00