# Continua CI Set Variable - apostrophe terminates text

**URL:** https://www.finalbuilder.com/forums/t/continua-ci-set-variable-apostrophe-terminates-text/6063
**Category:** Bugs
**Created:** [October 20, 2016, 10:41am UTC](https://www.finalbuilder.com/forums/t/continua-ci-set-variable-apostrophe-terminates-text/6063 "2016-10-20T10:41:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![michael.jelich](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@michael.jelich](https://www.finalbuilder.com/forums/u/michael.jelich)
#### Post date: [October 20, 2016, 10:41am UTC](https://www.finalbuilder.com/forums/t/continua-ci-set-variable-apostrophe-terminates-text/6063/1 "2016-10-20T10:41:59Z")

</div>

Hello Support Team,

I want to provide the Continua build process with some information collected by a FinalBuilder project. In detail a FinalBuilder project collects information of all solved requests in the current build. This works well - until the summary line of a request contains an apostrophe. This terminates the text shipped to Continua CI.

To reproduce this error you might want to do the following:

- Continua CI: create a variable with the name SolvedRequests  
- Continua CI: action "FinalBuilder"/"Variables" contains: CiVariableName=SolvedRequests  
- FinalBuilder 8: action "Continua CI - Set Variable" has  
&nbsp;&nbsp;&nbsp; Continua Variable Name = %CiVariableName%  
&nbsp;&nbsp;&nbsp; Value = Don't do this  
- Continua CI: action "Log Entry Action" with   
&nbsp;&nbsp;&nbsp; Message = %SolvedRequests%  
&nbsp;&nbsp;&nbsp; Add messages to a build comment = checked

After a successful build the message added to build comments is "Don".

Is this a bug or do I need to prepare the variable content in some way?

If I change the text   
- to "Don't do this" then \"Don is the result.  
- to Don\'t do this then Don\ is the result.  
- to Don''t do this then Don is the result.

There is no difference between usage of FinalBuilder 7 or 8 (most recent versions used).  
Continua CI is v1.8.1.112.

Any help is appreciated.

Best regards  
Michael

&nbsp;

---

<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: [October 24, 2016, 3:08am UTC](https://www.finalbuilder.com/forums/t/continua-ci-set-variable-apostrophe-terminates-text/6063/2 "2016-10-24T03:08:07Z")

</div>

Hi Michael,  
  
Apologies for the delay replying - we had some lurgy in the office. The issue here is with the FinalBulder action not escaping the apostrophe. We have uploaded a [new build of &nbsp;FinalBuilder 8](http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_1983.exe)&nbsp;with a fix.
