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
    • Type: boolean
  • notnotifyifsuccess
    when build status is success, don't publish message to spark room.
    • Type: boolean
  • sparkRoomName
    • Type: String
  • publishContentPrefix
    • Type: String
  • publishContent
    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}".
    • Type: String
  • invitetoroom
    when build status is fail, invite committers since last success build to spark room.
    • Type: boolean
  • attachtestresult
    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
    
    • Type: boolean
  • attachcodechange
    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]
    
    • Type: boolean

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.