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.

Publish to Bitbucket Plugin

step([$class: 'BitbucketPublisher']): Publish to Bitbucket Server

  • serverUrl (optional)
    Bitbucket Server Url.
    • Type: String
  • credentialsId (optional)
    Credentials for bitucket server. The user must have access to create project and repository.
    • Type: String
  • projectKey (optional)
    Input the project key for the bitbucket.
    • Type: String
  • createProject (optional)
    Check this if you want to create the bitbucket project.
      Nested Object
    • projectName
      • Type: String
    • projectUsers
      • Type: String
    • projectGroups
      • Type: String
  • createJenkinsJobs (optional)
    Check this if you want to use the bitbucket post commit external hook to call.
      Nested Object
    • ciServer
      • Type: String
  • projectName (optional)
    Input name of the Bitbucket project.
    • 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.