# Documentation on aborting a FreeStyleBuild

**URL:** <https://community.jenkins.io/t/documentation-on-aborting-a-freestylebuild/1157>\
**Category:** Ask a question\
**Tags:** documentation\
**Created:** [January 5, 2022, 1:50am UTC](https://community.jenkins.io/t/documentation-on-aborting-a-freestylebuild/1157 "2022-01-05T01:50:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinda](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/martinda/32/288_2.png) [@martinda](https://community.jenkins.io/u/martinda)\
**Post date:** [January 5, 2022, 1:50am UTC](https://community.jenkins.io/t/documentation-on-aborting-a-freestylebuild/1157/1 "2022-01-05T01:50:53Z")

</div>

I’d like to clarify the [documentation](https://www.jenkins.io/doc/book/using/aborting-a-build/) on aborting a build.

The documentation states that **" \* `BUILD ID URL/stop` - aborts a Pipeline."** but “stop” works to stop a FreeStyleBuild (which only calls sleep 100). Should the documentation say that “stop” is supported for FreeStyleBuild?

When I try to “term” a FreeStyleBuild (directly without trying stop first), the HTTP packets send a redirect to “term/” (with a trailing slash) which does not exist and results in 404. **I don’t know how to interpret that 404 response from my scripted client**. Here is the HTTP conversation:

```
> POST /job/FreeStyleSleep/2/term HTTP/1.1
> Host: 127.0.0.1:8080
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.68.0
> Accept: */*
> Jenkins-Crumb: 10a01bcaefc0d5ad611c260f42de1b2ad05ae315cee04ac56e7b86ae5c1a420a
> Cookie: JSESSIONID.efe80a15=node015kvwumslzfwrlgxhakfd3lsz11.node0; Path=/; HttpOnly
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Date: Wed, 05 Jan 2022 00:44:14 GMT
< X-Content-Type-Options: nosniff
< Location: http://127.0.0.1:8080/job/FreeStyleSleep/2/term/
< Content-Length: 0
< Server: Jetty(9.4.39.v20210325)
<
* Connection #0 to host 127.0.0.1 left intact
* Issue another request to this URL: 'http://127.0.0.1:8080/job/FreeStyleSleep/2/term/'
* Found bundle for host 127.0.0.1: 0x55fa195ea970 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
* Server auth using Basic with user 'admin'
> POST /job/FreeStyleSleep/2/term/ HTTP/1.1
> Host: 127.0.0.1:8080
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.68.0
> Accept: */*
> Jenkins-Crumb: 10a01bcaefc0d5ad611c260f42de1b2ad05ae315cee04ac56e7b86ae5c1a420a
> Cookie: JSESSIONID.efe80a15=node015kvwumslzfwrlgxhakfd3lsz11.node0; Path=/; HttpOnly
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Wed, 05 Jan 2022 00:44:14 GMT
< X-Content-Type-Options: nosniff
< Content-Type: text/html;charset=utf-8
< Transfer-Encoding: chunked
< Server: Jetty(9.4.39.v20210325)
< <html><head><meta http-equiv='refresh' content='1;url=..'/><script>window.location.replace('..');</script></head><body style='background-color:white; color:white;'>Not found</body></html>

```

My guess is: “term” and “kill” are NOT supported for FreeStyleBuilds but are for Pipeline?
