Class PublishWebhookStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class PublishWebhookStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    • Field Detail

      • markUnstable

        public boolean markUnstable
        The flag to mark current run unstable if this step fails to notify TeamForge.
      • status

        public String status
        The (optional) status to report explicitly to TeamForge.
      • excludeCommitInfo

        public boolean excludeCommitInfo
        The flag to control whether to exclude associated commit info in the TeamForge notification.
    • Constructor Detail

      • PublishWebhookStep

        public PublishWebhookStep​(String webhookUrl)
    • Method Detail

      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
      • getWebhookUrl

        public String getWebhookUrl()
        Reads the server URL to contact. Used by Jelly to render the UI template.
        the server URL
      • getCredentialsId

        public String getCredentialsId()
      • setCredentialsId

        public void setCredentialsId​(String credentialsId)