[ 
https://issues.jenkins-ci.org/browse/JENKINS-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

evernat resolved JENKINS-1805.
------------------------------

    Resolution: Fixed
    
> ANT task is not killed after build cancel
> -----------------------------------------
>
>                 Key: JENKINS-1805
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-1805
>             Project: Jenkins
>          Issue Type: Bug
>          Components: ant
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: 81bas
>
> If the project build is cancelled via WEB UI then ANT process is still shown 
> in
> OS process list.
> Possible solution: change hudson/tasks/Ant.java, method perform(...):
> ......
> Proc antProc = null;
> try {
>    antProc = launcher.launch(args.toCommandArray(),env,
>           listener.getLogger(),proj.getModuleRoot()); 
>    int r = antProc.join();
>    return r==0;
> } catch (InterruptedException ie){
>    antProc.kill();
> } catch (IOException e) {
> ......
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to