Please see https://issues.jenkins-ci.org/browse/JENKINS-25550?focusedCommentId=242057&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-242057 to kill a running workflow
2015-11-15 3:50 GMT+01:00 Martin d'Anjou <[email protected]>: > I have a workflow job that cannot be killed, unless the java process > running Jenkins is killed. I think it is a bug. Here are the steps to > reproduce: > > // Workflow job: > def flow > node() { > git 'file:///home/martin/git/workflow-job-definition.git' > flow = load 'flow.groovy' > } > def m = flow.createMyClass("Joe") > assert m.getName() == "Joe" > > // Content of flow.groovy > class MyClass { > String name > MyClass(String name) { > this.name = name > } > String getName() { > return "the name is: "+name > } > } > > MyClass createMyClass(String name) { > return new MyClass(name) > } > return this > > Once the job has started, it consumes more and more memory. To kill it, I > have to use kill -11 on the java process id (control-c is not enough). When > Jenkins restarts, it resumes the hanging job, but this time I can kill it > from the UI. I use Jenkins 1.638, and Workflow 1.11, on linux mint > > I tried looking for similar issues, but I cannot find if this has already > been reported. > > Martin > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/ab0c0a64-977a-4f79-9199-33893abec670%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ab0c0a64-977a-4f79-9199-33893abec670%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5X2CVDpSmK8Kpp7go3QtFe43_hTgm7rt8Wk0bNHdT3PQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
