Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 real time status information. This feature will be extended over time.

Message Format

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

...

@@continua[messageType name='test' value='This is a \nnew line and I am \'quoted\' by a\\b' ] 


Message Types

message - Sends a message to to the build log. 

...

@@continua[setVariable name='possiblyUnDefinedVariable' value='Hello world!' skipIfNotDefined='true' ]


 

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...' ]