# Build "comment" variable

**URL:** <https://www.finalbuilder.com/forums/t/build-comment-variable/5283>\
**Category:** Discussion\
**Created:** [December 5, 2014, 5:54am UTC](https://www.finalbuilder.com/forums/t/build-comment-variable/5283 "2014-12-05T05:54:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcoursey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/d07c76/32.png) [@lcoursey](https://www.finalbuilder.com/forums/u/lcoursey)\
**Post date:** [December 5, 2014, 5:54am UTC](https://www.finalbuilder.com/forums/t/build-comment-variable/5283/1 "2014-12-05T05:54:13Z")

</div>

Hi guys,

I’m trying to access the “comment” that is prompted for when you queue the build in Continua, so that I can pass this to finalbuilder. I can’t seem to find a variable for it (I was hoping for $Build.Comment$ or similar). Does this exist? If not would it be possible to add this variable in a future release?

Regards,

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [December 8, 2014, 12:10pm UTC](https://www.finalbuilder.com/forums/t/build-comment-variable/5283/2 "2014-12-08T12:10:45Z")

</div>

Hi Luke,  
  
Thank you for this request. The build comment is not currently exposed, but will be made available as $Build.Comment$ in the next version.

---

<div class="post-metadata">

**Author:** ![lcoursey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/d07c76/32.png) [@lcoursey](https://www.finalbuilder.com/forums/u/lcoursey)\
**Post date:** [December 8, 2014, 5:31am UTC](https://www.finalbuilder.com/forums/t/build-comment-variable/5283/3 "2014-12-08T05:31:46Z")

</div>

Thanks very much Dave, this will be very useful.

---

<div class="post-metadata">

**Author:** ![ktopaz](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/ktopaz/32/2390_2.png) [@ktopaz](https://www.finalbuilder.com/forums/u/ktopaz)\
**Post date:** [December 2, 2019, 4:13pm UTC](https://www.finalbuilder.com/forums/t/build-comment-variable/5283/4 "2019-12-02T16:13:42Z")

</div>

Hi guys,  
Does $Build.Comment$ or similar still exist at Continua CI 1.9.1.511? Tried but can’t find it.

W’ere Trying to force mandatory build comments for some of our configurations  
We’ve found $Build.StartComment$ but not sure that this is exactly what I’m looking for because:

> ```
> if '$Build.StartComment$' Matches '' then stop/fail
> 
> ```

This logic fails regardless of if there is any input under the build “Comment” input field.

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [December 3, 2019, 3:40am UTC](https://www.finalbuilder.com/forums/t/build-comment-variable/5283/5 "2019-12-03T03:40:33Z")

</div>

Hi @ktopaz,

`$Build.StartComment$` contains the first comment on the build, so this is the correct expression value for your test.

The `Matches` operator is for matching against a regular expression (looks like we need to document these operators). So ,you could change your expression to `$Build.StartComment$' Matches '^$$'` (note the escaping of $), or simply use the `Equals` operator. e.g. `'$Build.StartComment$' Equals ''`
