You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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, send realtime status information and provide build metric information. The functionality available via custom log messages will be expanded over time.

Message Format

@@continua[messageType parameter='value' parameter='value' ]

Note that the messageType field is not case sensitive.

Message Types

message - Sends a message to to the build log. 

Parameters : value

Example : 

@@continua[message value='This will be logged' ]

startGroup - Starts a message group (tree node) in the build log

Parameters : name

Example : 

@@continua[startGroup value='Copying Files...' ]

endGroup - Ends a message group (tree node) in the build log

Parameters : name

Example : 

@@continua[endGroup value='Copying Files...' ]

setVariable- Ends a message group (tree node) in the build log

Parameters : name, value

Example : 

@@continua[setVariable name='allowupload' value='true' ]

 

Note that the variable name must be a Continua CI Configuration Variable. 

  • No labels