Custom Log Messages provide a way for processes executed by Continua CI to interact with the Continua CI build. This includes the ability to set the build number, set variables and send realtime real time status information and provide build metric information. The functionality available via custom log messages . This feature will be expanded extended over time.
Message Format
@@continua[messageType parameter='value' parameter='value' ]
Note that the messageType field is not case sensitive. The parameter order is not defined, and parameter values must be quoted (with single quotes). NewLines, [ ] and single quotes must be escaped, e.g
@@continua[messageType name='test' value='This is a \nnew line and I am \'quoted\'' ]
Message Types
message - Sends a message to to the build log.
...
@@continua[endGroup value='Copying Files...' ]
setVariable- Ends a message group (tree node) in the build logSets a Continua CI Configuration Variable.
Parameters : name, value
Example :
...
Info |
---|
Note that the variable name must be a Continua CI Configuration Variable. |
setBuildVersion - Sets the current builds version string
Parameters : value
Example :
@@continua[setBuildVersion value='1.2.3' ]
setBuildStatus - Sets the current action's build status, which is shown on the build details page when a build is running
Parameters : name
Example :
@@continua[setBuildStatus value='Copying Files...' ]