Versions Compared

Key

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

...

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


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

Parameters : name

Example : 

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


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

...


setVariable
- Sets a Continua CI Configuration Variable. Note that the variable name must be a Continua CI Configuration Variable. Optionally set the skipIfNotDefined the skipIfNotDefined attribute to 'true' to prevent the build failing if the variable has not been defined for the configuration.

Parameters : name, value, skipIfNotDefined

Example Examples

@@continua[setVariable name='allowupload' value='true' ]
@@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...']

pinBuild - Pins the current build, so that it is listed at the top of the build history and excluded from build cleanup. Optionally provide a comment to be associated with the pin and set the appendComment attribute to 'true' to append it to any existing comment.

Parameters : comment, appendComment

Example : 

@@continua[pinBuild comment='Keep this awesome build' appendComment='true']

unpinBuild - Removes any pins from the current build.

Example : 

@@continua[unpinBuild]

tagBuild - Adds the supplied tag to the current build. Optionally set the replaceExisting attribute to 'true' to remove any existing tags first.

Parameters : tag, replaceExisting

Example : 

@@continua[tagBuild tag='deployed' replaceExisting='true']

removeBuildTag - Remove a tag or all tags from current build. Either provide the name of the tag to remove or set the removeAll attribute to 'true' to remove all existing tags.

Parameters : tag, replaceExisting

Examples : 

@@continua[removeBuildTag tag='deployed']

@@continua[removeBuildTag removeAll='true']