Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Bitbucket 'Admin' tab.
  2. Click 'Services' in the 'Additional options/settings' section on the right-hand side of the screen.
  3. Select the 'Jenkins' service from the dropdown list in the 'Services Administration' section.
  4. Click 'Add service'.
  5. A new section appears for the Jenkins service. Enter the following information:

    \
    • Endpoint – Enter your Jenkins endpoint URL.
    • Project name – Enter your Jenkins project name.
    • Token -- Enter the Jenkins token (optional).
    • Module name -- Enter the Jenkins module name (optional).

    FieldExplanationExampleRequired
    EndpointThe endpoint URL for your Jenkins instance
    https://www.bitbucket.org/jenkins/(tick)
    Project NameThe name of the Jenkins job you wish to run builds onBitbucket Selenium Tests(tick)
    Token If your Jenkins server  has security enabled, you will need to allow remote access to your job. Access is granted via a token. Visit https://wiki.jenkins-ci.org/display/JENKINS/Quick+and+Simple+Security for further details on setting up remote access in Jenkins. (error)
    Module nameIf set, only commits to the specified module (or directory) will trigger a Jenkins build.apps/bitbucket(error)
  6. Click 'Save settings'.


RELATED TOPICS

...