Continua CI Set Variable - apostrophe terminates text

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
    Continua Variable Name = %CiVariableName%
    Value = Don't do this
- Continua CI: action "Log Entry Action" with
    Message = %SolvedRequests%
    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

 

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  FinalBuilder 8 with a fix.