/mingle_macro_cruise_status

a mingle macro fetches the latest build status of a pipeline instance from cruise automatically and periodically via JSONP

Primary LanguageRuby

Mingle macro: Cruise status
---------------------------------

The macro fetches the build status of the latest pipeline instance from Cruise automatically and periodically via JSONP

Usage:
{{
  cruise_status
    cruise_url: 'http://localhost:8153/cruise/'    #the address of cruise
    pipeline_name: 'name of the pipeline'
    authenticate: 'true/false'    #optional, 'true' by default, whether authentication is required or not
    username: 'admin'    #if authentication required, the username of the a principal
    password: 'admin'    #if authentication required, the password of the a principal
    interval: 3          #the interval this macro request Cruise, integer in second
}}