# CIRCLE\_PROJECT\_REPONAME not set in local build

**URL:** <https://discuss.circleci.com/t/circle-project-reponame-not-set-in-local-build/27408>\
**Category:** Build Environment\
**Tags:** cli\
**Created:** [January 2, 2019, 6:53pm UTC](https://discuss.circleci.com/t/circle-project-reponame-not-set-in-local-build/27408 "2019-01-02T18:53:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david-wb](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/david-wb/32/21039_2.png) [@david-wb](https://discuss.circleci.com/u/david-wb)\
**Post date:** [January 2, 2019, 6:53pm UTC](https://discuss.circleci.com/t/circle-project-reponame-not-set-in-local-build/27408/1 "2019-01-02T18:53:09Z")

</div>

$CIRCLE\_PROJECT\_REPONAME is not set in the local build using the CLI. Even when I explicitly set it like below, the env var is still null during the build. Why is this happening?

```auto
circleci build --job deploy-dev \
  -e GOOGLE_CREDENTIALS="$GOOGLE_CREDENTIALS" \  
  -e CIRCLE_PROJECT_REPONAME="$REPO_NAME"

```

---

<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:** [April 2, 2019, 6:53pm UTC](https://discuss.circleci.com/t/circle-project-reponame-not-set-in-local-build/27408/2 "2019-04-02T18:53:53Z")

</div>

Closed on April 2, 2019, 6:53pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
