Connecting to bitbucket repository from jenkins server

bgarcial

At moment I'm trying to create connection from jenkins to my bitbucket repository, using the git plugin that I've installed in jenkins.

When I enter to the repository URL, I get the following message notification shown in the figure:

"Failed to connect to repository : Command "ls-remote -h [email protected]:safe2school-ondemand/s2s-android-padres.git HEAD" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly"

Trying connect to bitbucket repo from jenkins through git

I've install jenkins on apache tomcat container, which is located in a path /srv/apache-tomcat

In the system I have a root ssh-key and I add this key to bitbucket. I appreciate your support :)

geoom

You can try with user-password authentication credential, this is the alternative way that this plugin gives us.

  1. Click 'Add' button.

enter image description here

  1. Select "User with password" in Kind input.
  2. Add bitbucket account credential.

enter image description here

  1. Enter bitbucket repo url using 'https' protocol.

enter image description here

Finally, the absence of errors (like red messages under repo url input) means that the process had success.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

how to start jenkins server from bitbucket

From Dev

Build a project from sub-directory of Bitbucket repository in Jenkins

From Dev

How to clone a BitBucket repository with Jenkins

From Dev

How to add Bitbucket repository in to jenkins?

From Dev

How to add Bitbucket repository in to jenkins?

From Dev

Jenkins: Error connecting to a GIT repository

From Dev

BitBucket - How to retrieve all repository urls from a server

From Dev

BitBucket - How to retrieve all repository urls from a server

From Dev

Connecting to ubuntu mirror repository server

From Dev

need help connecting to bitbucket repository with sourceTree on windows 8

From Dev

need help connecting to bitbucket repository with sourceTree on windows 8

From Dev

Code has disappeared from bitbucket repository

From Dev

Unable to clone git repository from bitbucket in ubuntu

From Dev

Android Studio: how to move a project from bitbucket repository A to bitbucket repository B

From Dev

Connecting to SQL Server from Nodejs

From Dev

Connecting from Python to SQL Server

From Dev

Connecting to XMPP server from android

From Dev

Connecting to SQL Server from Nodejs

From Dev

Setting git private repository project on jenkins server

From Dev

PDI 7 o 8 error connecting to SQL Server repository

From Dev

connecting amazon redshift server from tableau server

From Java

How to move git repository with all branches from bitbucket to github?

From Java

How to import a Project into bitbucket repository from Android Studio?

From Dev

Importing package from a private Bitbucket repository through composer

From Dev

Create a new BitBucket repository for existing files from Ubuntu

From Dev

Can I hg clone a git repository from BitBucket?

From Dev

How to delete remote commit from bitbucket mercurial repository

From Dev

What is the best way to start a new project from an existing bitbucket repository?

From Dev

Importing package from a private Bitbucket repository through composer

Related Related

  1. 1

    how to start jenkins server from bitbucket

  2. 2

    Build a project from sub-directory of Bitbucket repository in Jenkins

  3. 3

    How to clone a BitBucket repository with Jenkins

  4. 4

    How to add Bitbucket repository in to jenkins?

  5. 5

    How to add Bitbucket repository in to jenkins?

  6. 6

    Jenkins: Error connecting to a GIT repository

  7. 7

    BitBucket - How to retrieve all repository urls from a server

  8. 8

    BitBucket - How to retrieve all repository urls from a server

  9. 9

    Connecting to ubuntu mirror repository server

  10. 10

    need help connecting to bitbucket repository with sourceTree on windows 8

  11. 11

    need help connecting to bitbucket repository with sourceTree on windows 8

  12. 12

    Code has disappeared from bitbucket repository

  13. 13

    Unable to clone git repository from bitbucket in ubuntu

  14. 14

    Android Studio: how to move a project from bitbucket repository A to bitbucket repository B

  15. 15

    Connecting to SQL Server from Nodejs

  16. 16

    Connecting from Python to SQL Server

  17. 17

    Connecting to XMPP server from android

  18. 18

    Connecting to SQL Server from Nodejs

  19. 19

    Setting git private repository project on jenkins server

  20. 20

    PDI 7 o 8 error connecting to SQL Server repository

  21. 21

    connecting amazon redshift server from tableau server

  22. 22

    How to move git repository with all branches from bitbucket to github?

  23. 23

    How to import a Project into bitbucket repository from Android Studio?

  24. 24

    Importing package from a private Bitbucket repository through composer

  25. 25

    Create a new BitBucket repository for existing files from Ubuntu

  26. 26

    Can I hg clone a git repository from BitBucket?

  27. 27

    How to delete remote commit from bitbucket mercurial repository

  28. 28

    What is the best way to start a new project from an existing bitbucket repository?

  29. 29

    Importing package from a private Bitbucket repository through composer

HotTag

Archive