|
|
This post has NOT been accepted by the mailing list yet.
Hi All,
I wrote a plugin which will find out the String translation and layout errors in android code.Now all is working fine.But main problem when it is executing the plugin I am not able to stop the plugin.While executing the build step plugin I am reading some files and writing into one file.Now while I/O operation when I am trying to stop the build from the red color "x" button in Jenkins UI build is not getting stop.It continues executing.
In Jenkins AbstractBuild.java there is a function doStop() which calls another function doStop() from the Executor.java which finally use thread interrupt method to stop the execution of build.But since the plugin is doing some I/O operation may be its not able to stop the build.
Can anyone help me how solve this problem and is there any mistake I am doing
Thanks
Diptiman
|