kill command cannot abort build started by java -jar jenkins-cli.jar build -s

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Trivial
    • Component/s: cli
    • Environment:
      Jenkins cli org.jenkins-ci.main:cli:2.107.2
      Jenkins core org.jenkins-ci.main:jenkins-core:2.107.2

      Use `java -jar jenkins-cli.jar -noKeyAuth -auth {auth} -s {server } build {jobName}-s` to start a jenkins build.

      If do ctrl +c, the process will be terminated and the build will be aborted.

      But use kill -2 {pid} ,the process can be terminated but the build is still running

            Assignee:
            Unassigned
            Reporter:
            linggyue zhu
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: