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
    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.

    • Type: String
  • body
    The body text for your Chatter post
    • Type: String
  • buildUrlTitle (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)
    • Type: String
  • recordId (optional)
    Id of record to chatter to (e.g. a group, or a custom object), leave blank to chatter to user's wall.
    • Type: String
  • server (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
    • Type: String

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.