# All jobs with deployment are \`retired\`

**URL:** <https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075>\
**Category:** Bug Reports\
**Created:** [June 3, 2017, 8:10am UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075 "2017-06-03T08:10:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TooAngel](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/tooangel/32/16238_2.png) [@TooAngel](https://discuss.circleci.com/u/TooAngel)\
**Post date:** [June 3, 2017, 8:10am UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/1 "2017-06-03T08:10:08Z")

</div>

I newly introduced the continuous deployment and all jobs run into retired, with the friendly message:

“Looks like we had a bug in our infrastructure, or that of our providers (generally GitHub or AWS). We should have automatically retried this build. We’ve been alerted of the issue and are almost certainly looking into it, please contact us if you’re interested in the cause or if the problem persists.” - So I ended up here 🙂

I don’t get any logs about the deploy process. For deploying I use `npm run deploy` (grunt, copying, upload to screeps). For testing I use `npm test`. If I define the deploy command as a test command it works fine, and of course I can see the output.

You can see one of the failes builds here: [https://circleci.com/gh/TooAngel/screeps/948](https://circleci.com/gh/TooAngel/screeps/948)

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![rohara](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rohara/32/5744_2.png) [@rohara](https://discuss.circleci.com/u/rohara)\
**Post date:** [June 5, 2017, 6:17pm UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/2 "2017-06-05T18:17:53Z")

</div>

Can you try rebuilding both #932 and #933 now?

---

<div class="post-metadata">

**Author:** ![TooAngel](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/tooangel/32/16238_2.png) [@TooAngel](https://discuss.circleci.com/u/TooAngel)\
**Post date:** [June 9, 2017, 8:15am UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/3 "2017-06-09T08:15:30Z")

</div>

> [@rohara](#):
>
> #932 and

Hey, sorry I somehow missed your message. I retriggered both builds. In the mean time there are also a couple of additonal failed builds.

---

<div class="post-metadata">

**Author:** ![rohara](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rohara/32/5744_2.png) [@rohara](https://discuss.circleci.com/u/rohara)\
**Post date:** [June 9, 2017, 2:46pm UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/4 "2017-06-09T14:46:40Z")

</div>

I’ve opened a bug ticket to address this.

---

<div class="post-metadata">

**Author:** ![rohara](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rohara/32/5744_2.png) [@rohara](https://discuss.circleci.com/u/rohara)\
**Post date:** [June 9, 2017, 3:07pm UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/6 "2017-06-09T15:07:43Z")

</div>

Now I feel silly for not catching it. You’re defining a command for `commands` but it requires a list;

```auto
deployment:
    production:
      branch: master
      commands: 
        - grunt
    workspace:
      branch: workspace
      commands:
        - grunt

```

---

<div class="post-metadata">

**Author:** ![TooAngel](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/tooangel/32/16238_2.png) [@TooAngel](https://discuss.circleci.com/u/TooAngel)\
**Post date:** [June 9, 2017, 5:26pm UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/7 "2017-06-09T17:26:15Z")

</div>

That’s fine, I think we are on the same page. I feel stupid, missing that in the documentation. Thanks a lot.

As a suggestion, the error message could be may be improved a bit 😉

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:34am UTC](https://discuss.circleci.com/t/all-jobs-with-deployment-are-retired/13075/8 "2018-06-18T11:34:44Z")

</div>

Closed on June 18, 2018, 11:34am UTC


