# Cannot find a job named \`build\` to run in the \`jobs:\` section

**URL:** <https://discuss.circleci.com/t/cannot-find-a-job-named-build-to-run-in-the-jobs-section/32921>\
**Category:** Build Environment\
**Created:** [October 16, 2019, 8:34am UTC](https://discuss.circleci.com/t/cannot-find-a-job-named-build-to-run-in-the-jobs-section/32921 "2019-10-16T08:34:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonh1000](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/simonh1000/32/18585_2.png) [@simonh1000](https://discuss.circleci.com/u/simonh1000)\
**Post date:** [October 16, 2019, 8:34am UTC](https://discuss.circleci.com/t/cannot-find-a-job-named-build-to-run-in-the-jobs-section/32921/1 "2019-10-16T08:34:34Z")

</div>

We have a version 2.1 setup that works well. But I want to make some changes and test that they work locally. `circleci build` tells me that the format is wrong. So I have done

```auto
circleci config process .circleci/config.yml> .circleci/config2.yml
circleci build --config .circleci/config2.yml

```

and get the error in the title.

My config2.yml looks like

![image](https://global.discourse-cdn.com/circleci/original/3X/4/c/4c0f51bde204203367a4334bc5950138787c0b91.png)

I’m trying to solve this without overloading further our devops person and know very very little about CI so all simple help is welcome

---

<div class="post-metadata">

**Author:** ![gmemstr](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/gmemstr/32/22922_2.png) [@gmemstr](https://discuss.circleci.com/u/gmemstr)\
**Post date:** [October 16, 2019, 1:04pm UTC](https://discuss.circleci.com/t/cannot-find-a-job-named-build-to-run-in-the-jobs-section/32921/2 "2019-10-16T13:04:40Z")

</div>

Hey @simonh1000 - would you mind adding `version: 2` to the `workflow` section? It should look something like this:

```yaml
workflows:
  version: 2

```

This should allow this section to be picked up

---

<div class="post-metadata">

**Author:** ![simonh1000](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/simonh1000/32/18585_2.png) [@simonh1000](https://discuss.circleci.com/u/simonh1000)\
**Post date:** [October 16, 2019, 1:23pm UTC](https://discuss.circleci.com/t/cannot-find-a-job-named-build-to-run-in-the-jobs-section/32921/3 "2019-10-16T13:23:11Z")

</div>

Hi @gmemstr. Whoops I had deleted that at some stage while trying to find a solution. I did indeed start with the `version 2` and had the problem at that stage too. Here’s what I just tested and which exhibits the same issue

![image](https://global.discourse-cdn.com/circleci/original/3X/8/0/8053715fa5b99a559b7f37968d9d991511f89f7d.png)
