The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Cisco Spark Plugin

step([$class: 'SparkNotifier']): Cisco Spark Notification

  • disable : boolean
  • notnotifyifsuccess : boolean
    when build status is success, don't publish message to spark room.
  • sparkRoomName : String
  • publishContentPrefix : String
  • publishContent : String
    support environment vars and some customized vars, such as ${BUILD_STATUS}. if the content contain ${DEFAULT_CONTENT}, it will be replaced with "${BUILD_STATUS}:${BUILD_URL}".
  • invitetoroom : boolean
    when build status is fail, invite committers since last success build to spark room.
  • attachtestresult : boolean
    Maven job with test result can use this function. Not all builds can support it. so if checked, the published message will contain test result such as:
    [test results]
              total:5, failed:0, skiped:0
    
  • attachcodechange : boolean
    not all builds need to checkout from SCM. so if checked, the published message will contain code changes such as:
    [changes]
              fujian1115:[job_config.jpg]
              fujian1115:[sample.jpg]
    

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.