bitbucket

Bitbucket clone: Port number ended with 'T'

馋奶兔 提交于 2019-12-06 06:34:14
I try to make a clone (mirror) of my bitbucket repo using jenkins execute shell (not the git plugin). My credentials: username passwd are saved in a variable: myuser The credentials are right. We used this plugin to save the credentials. We're doing exactly the same for some other repo's (on our local git, not bitbucket) and it's working very good. Now I try: git clone --mirror https://${myuser}@bitbucket.org/team/repo.git The error I'm facing is: fatal: unable to access 'https://****@bitbucket.org/team/repo.git/': Port number ended with 'T' We need to encode the URL while passing special

Hudson/Jenkins — how to access a private git repository on BitBucket.com

六月ゝ 毕业季﹏ 提交于 2019-12-06 06:01:06
问题 This question is long and multifaceted, so I'll start with a brief overview, and then show in detail everything I've tried and my questions as to why they don't work and what I'm doing wrong. Overview I'm trying to setup a Build Job on Hudson for source code on a private repository on BitBucket. There are a lot of similar questions on Stack Overflow, but for various reasons none of them address my needs. I would like to access it using https instead of ssh, but there seems no way forward

bitbucket unable to merge, this field is required

坚强是说给别人听的谎言 提交于 2019-12-06 05:50:20
I'm an ordinary bitbucket user who plays with git push git pull and git merge commands and never come across this weird situation. Now I'm trying to merge my feature branch into my master branch and getting this error: From bitbucket site follow these steps: Go to Compare Select Destination and Source branches Select Compare button Select Merge button on top right corner This error was a result of a bug that has now been fixed. 来源: https://stackoverflow.com/questions/42533093/bitbucket-unable-to-merge-this-field-is-required

git ssh authorisation error when accessing bitbucket repo multiple keys

可紊 提交于 2019-12-06 05:43:25
I have multiple ssh keys, using one key for one project. I have successfully assigned the public ssh keys to the relevant repositories inside my bitbucket account. They are stored in the following location: ~/.ssh/rsa_generic_repos ~/.ssh/rsa_generic_repos.pub ~/.ssh/rsa_project1 ~/.ssh/rsa_project1.pub I then add these keys to my ssh-agent before attempting any git access: ssh-add ~/.ssh/rsa_generic_repos ssh-add ~/.ssh/rsa_project1 ssh-add -l - Displays: 4096 SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXX/XXXXXXXXXXXX Generic Repo Key (RSA) 4096 SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXX/XXXXXXXXXXXX Project 1

Bitbucket OAuth returns “Could not verify OAuth request.”

非 Y 不嫁゛ 提交于 2019-12-06 05:31:00
I'm attempting to use bitbucket's API through Python with rauth. My get_request_token call fails with the error: Key Error: 'Decoder failed to handle oauth_token with data as returned by provider. A different decoder may be needed. Provider returned: Could not verify OAuth request.' I wrote and tested this code a year ago and it worked then (on the same server, in fact). What is wrong now? My server's clock was not within five minutes of bitbucket's. The answer was here: https://confluence.atlassian.com/display/BITBUCKET/Troubleshooting+OAuth+Requests Installing ntp solved this for me (on

Two web project in my solution which one to deploy

元气小坏坏 提交于 2019-12-06 05:17:25
I have a solution structured like this Proj.Soln Proj.Api.csproj Proj.Web.csproj I have configured microsoft azure with bitbucket.org. When I commit through git to bitbucket, azure will pick this up and deploy my application. How do I specify that I want Proj.Web.csproj deployed and not Proj.Api.csproj? I am not sure whether there is another method to chose the project, but are some steps to help you achieve your goal (note: this is tested and confirmed to be working): Configure the Continuous Deployment for your WebSite to your Git repository (BitBucket) Make initial commit to make sure the

Configuring Jenkins with Bitbucket

不问归期 提交于 2019-12-06 03:17:21
I seem to have got stuck trying to link Jenkins (an EC2 AWS instance of Ubuntu) with Bitbucket. Whenever I try to build my project (I've installed the git plugin on Jenkins) I get... Building in workspace /var/lib/jenkins/jobs/Google adwords/workspace Checkout:workspace / /var/lib/jenkins/jobs/Google adwords/workspace - hudson.remoting.LocalChannel@2c473996 Using strategy: Default Cloning the remote Git repository Cloning repository origin ERROR: Error cloning remote repo 'origin' : Could not clone git@bitbucket.org:DAVID99WORLD/assessme.git hudson.plugins.git.GitException: Could not clone git

Bitbucket git reset

一个人想着一个人 提交于 2019-12-06 03:04:16
问题 I've done this git commands: git reset --hard hash git push -f All was good locally, I don't see any commits after 'hash' commit. All was good after pushing too, there were no errors, but on Bitbucket main panel of my repository (Overview) last commits still are. And I don't understand it, have I reset remote repository or not? 回答1: The problem is that your SHA's have not changed so Git doesn't really update the remote on BitBucket. The history after where you reset still exists, you would be

Configuring composer.json with private Bitbucket Mercurial repository

时光怂恿深爱的人放手 提交于 2019-12-06 02:25:49
问题 My project uses my own library which is in the private Mercurial repository placed on bitbucket.org. That library has no composer.json configured. I try to make that library as a dependency to my project. Firstly I wrote to composer.json the following strings: { "require": { "php": ">=5.4", "myname/mylibname": "dev" }, "repositories":[ { "type": "hg", "url" : "https://bitbucket.org/myname/mylibname" } ] } And running composer install I've got an error: [RuntimeException] Failed to clone https

Auto deployment with Git and Rails, How does it work?

一曲冷凌霜 提交于 2019-12-06 00:06:30
I have a Git repository in bitbucket and another on my live rails server, How can I make it so whenever i push to bitbucket it, the live server pull it from bitbucket as well? I found this snippet online, and i put it on my live server's git hooks as post-receive , but i don't know what to do next: #!/bin/sh name=$1 if [ -z "$name" ] ; then echo "need to give name of checkout dir on command line" exit 1 fi dir=/srv/web/$name if [ ! -d $dir ] ; then echo "the directory $dir does not exist" exit 1 fi cd $dir env -i git pull rake db:migrate touch $dir/tmp/restart.txt Can anyone point out what