How to set up jenkins with bitbucket

I am trying to configure Jenkins using Bitbucket. Its almost 4 days, but Jenkins does not clone with Bitbook.

The steps that I follow.

  • Install jenkins.
  • Install git
  • I have an account on a bitbucket. created a repository called javascript which have some HTML code. Jenkins Management -> Configure System -> On the (Git) tab -> name: default, the path to the Git executable: / usr / bin / git. as shown below. enter image description here
  • A new item (tasks) was created in Jenkins say Hello World β†’ Configure-> Project Name: Hello World β†’ Description: blalala β†’ Source Control-> git β†’ Repository URL: https: // UserName@bitbucket.org / UserName / HelloWorld .git .
  • Credentials: Providing my credentials.

Failed to connect to repository : Command "/usr/bin/git config --local credential.helper store --file=/tmp/git6945256026248158269.credentials" returned status code 129:
stdout:
stderr: error: unknown option `local'
usage: git config [options]

Config file location
    --global              use global config file
    --system              use system config file
    -f, --file <FILE>     use given config file

Action
    --get                 get value: name [value-regex]
    --get-all             get all values: key [value-regex]
    --get-regexp          get values for regexp: name-regex [value-regex]
    --replace-all         replace all matching variables: name value [value_regex]
    --add                 adds a new variable: name value
    --unset               removes a variable: name [value-regex]
    --unset-all           removes all matches: name [value-regex]
    --rename-section      rename section: old-name new-name
    --remove-section      remove a section: name
    -l, --list            list all
    -e, --edit            opens an editor
    --get-color <slot>    find the color configured: [default]
    --get-colorbool <slot>
                          find the color setting: [stdout-is-tty]

Type
    --bool                value is "true" or "false"
    --int                 value is decimal number
    --bool-or-int         value is --bool or --int
    --path                value is a path (file or directory name)

Other
    -z, --null            terminate values with NUL byte

. Git. ssh . , .

+4
1

, Git, --local.

--local 1.7.4 2010 .

, Git, , , , , v1.7.4, . , git --version git help config, , --local.

+2

All Articles