[JIRA] (JENKINS-41724) Cannot pull from bitbucket

2017-02-06 Thread dimakie...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Zhernosiekov closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Used git pull in "Build steps" without checkout. Fixed. Not a fault.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-41724  
 
 
  Cannot pull from bitbucket   
 

  
 
 
 
 

 
Change By: 
 Dmytro Zhernosiekov  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit 

[JIRA] (JENKINS-41724) Cannot pull from bitbucket

2017-02-06 Thread dimakie...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Zhernosiekov commented on  JENKINS-41724  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot pull from bitbucket   
 

  
 
 
 
 

 
 Checked that bitbucket is added to known_host to be sure no issue with SSH: 

bitbucket.org,104.192.143.2 ssh-rsa B3NzaC1yc2EBIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw== 104.192.143.3 ssh-rsa B3NzaC1yc2EBIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw== 104.192.143.1 ssh-rsa B3NzaC1yc2EBIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you 

[JIRA] (JENKINS-41724) Cannot pull from bitbucket

2017-02-06 Thread dimakie...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Zhernosiekov updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41724  
 
 
  Cannot pull from bitbucket   
 

  
 
 
 
 

 
Change By: 
 Dmytro Zhernosiekov  
 

  
 
 
 
 

 
 Hi,I'm upload machine ssh key in bitbucket. Create Job in Jenkins to pull repo. In job I could see that it connect to bitbucket did fetch, but cannot pull with error that cannot checkout to branch. Is it bug or I did something wrong? {quote} Building in workspace /var/lib/jenkins/workspace/pis > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url g...@bitbucket.org:company/code.git # timeout=10Fetching upstream changes from g...@bitbucket.org:company/code.git > git --version # timeout=10using GIT_SSH to set credentials  > git fetch --tags --progress g...@bitbucket.org:company/code.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10Checking out Revision 968c691e3c56dd685cd6907f657c82d159ae21bc (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 968c691e3c56dd685cd6907f657c82d159ae21bc > git rev-list 968c691e3c56dd685cd6907f657c82d159ae21bc # timeout=10[pis] $ /bin/sh -xe /tmp/hudson4526651168464598726.sh+ git pullYou are not currently on a branch. Please specify whichbranch you want to merge with. See git-pull(1) for details.git pull  Build step 'Execute shell' marked build as failureFinished: FAILURE {quote}When I tried to fetch repo from cli:{quote}[user@user.ansible:~]$ git clone g...@bitbucket.org:company/code.git pisCloning into 'code'...remote: Counting objects: 4936, done.remote: Compressing objects: 100% (2826/2826), done.remote: Total 4936 (delta 3292), reused 3300 (delta 2086)Receiving objects: 100% (4936/4936), 3.18 MiB | 2.75 MiB/s, done.Resolving deltas: 100% (3292/3292), done.[user@user.ansible:~]$ cd code/[user@user.ansible:~/code]$ git fetch --allFetching origin[user@user.ansible:~/code]$ git checkout developAlready on 'develop'[user@user.ansible:~/code]$ git pullAlready up-to-date.[user@user.ansible:~/code]$ {quote}Since Jenkins has /bin/false bash, I cannot do the same for Jenkins user in CLI, but I pus the same key in $JENKINS_HOME/.ssh folder. md5 code:{quote}[user@user.ansible:~]$ md5sum .ssh/id_rsaf3bcfc4ad1abdac352b49e77909b56c8  .ssh/id_rsa[user@user.ansible:~]$ sudo md5sum /var/lib/jenkins/.ssh/id_rsaf3bcfc4ad1abdac352b49e77909b56c8  /var/lib/jenkins/.ssh/id_rsa{quote}The way I point on branch in Jenkins:*/developCould you check this issue please?  
 

  
 
 
 
 

 
 

[JIRA] (JENKINS-41724) Cannot pull from bitbucket

2017-02-05 Thread dimakie...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Zhernosiekov updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41724  
 
 
  Cannot pull from bitbucket   
 

  
 
 
 
 

 
Change By: 
 Dmytro Zhernosiekov  
 

  
 
 
 
 

 
 Hi,I'm upload machine ssh key in bitbucket. Create Job in Jenkins to pull repo. In job I could see that it connect to bitbucket did fetch, but cannot pull with error that cannot checkout to branch.  Could you help me  Is it bug or I did something wrong ? Building in workspace /var/lib/jenkins/workspace/pis > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url g...@bitbucket.org:company/code.git # timeout=10Fetching upstream changes from g...@bitbucket.org:company/code.git > git --version # timeout=10using GIT_SSH to set credentials  > git fetch --tags --progress g...@bitbucket.org:company/code.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10Checking out Revision 968c691e3c56dd685cd6907f657c82d159ae21bc (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 968c691e3c56dd685cd6907f657c82d159ae21bc > git rev-list 968c691e3c56dd685cd6907f657c82d159ae21bc # timeout=10[pis] $ /bin/sh -xe /tmp/hudson4526651168464598726.sh+ git pullYou are not currently on a branch. Please specify whichbranch you want to merge with. See git-pull(1) for details.git pull  Build step 'Execute shell' marked build as failureFinished: FAILURE  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This 

[JIRA] (JENKINS-41724) Cannot pull from bitbucket

2017-02-04 Thread dimakie...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Zhernosiekov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41724  
 
 
  Cannot pull from bitbucket   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 git-plugin  
 
 
Created: 
 2017/Feb/04 12:10 PM  
 
 
Environment: 
 CentOs 7.1 + Java 1.8 + Jenkins  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Dmytro Zhernosiekov  
 

  
 
 
 
 

 
 Hi, I'm upload machine ssh key in bitbucket. Create Job in Jenkins to pull repo. In job I could see that it connect to bitbucket did fetch, but cannot pull with error that cannot checkout to branch. Could you help me?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment