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.

Chatter Notifier Plugin

chatterPost: Post to Chatter

Simple step for posting a Chatter buildUrlTitle/body to a specified channel or the user's wall.
Usage Example:
postToChatter "Build Started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
  • credentialsId : String
    Utilizes the Credentials Plugin's Username with Password credentials storage to communicate with Chatter.

    If you're connecting from outside of your organizations trusted network, you'll also need to append your API security token to your password.

    See Identity Confirmation in the salesforce.com online help for more information.

  • body : String
    The body text for your Chatter post
  • buildUrlTitle : String (optional)
    The buildUrlTitle for your Chatter post. If left blank, the title will be set to your job/pipeline name and number (JOB_NAME BUILD_DISPLAY_NAME)
  • recordId : String (optional)
    Id of record to chatter to (e.g. a group, or a custom object), leave blank to chatter to user's wall.
  • server : String (optional)
    If left blank will connect to production, if you want to connect to a sandbox or have the my domains feature enabled, enter URL of alternative login server, e.g. https://test.salesforce.com

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.