bitbucket

BitBucket Jenkins doesn't automatically build

感情迁移 提交于 2019-11-29 11:25:32
问题 On my Jenkins I configured: Source Code Management Git repository: https://bitbucket.org/username/project.git credentials: username/password Builder Triggers Build when a change is pushed to BitBucket On my BitBucket Webhooks: http://Jenkins.URL:8080/bitbucket-hook I tried pushing a small change to a .txt file, but the Jenken doesn't build automatically. If I manually click "build now", it shows success. What could be the problem? In the bitbucket repository, the project is simple. I just

Unable to find user root: no matching entries in passwd file in Docker

China☆狼群 提交于 2019-11-29 10:46:44
I have containers for multiple Atlassian products; JIRA , Bitbucket and Confluence . When I'm trying to access the running containers I'm usually using: docker exec -it -u root ${DOCKER_CONTAINER} bash With this command I'm able to access as usual, but after running a script to extract and compress log files, I can't access that one container anymore. Excerpt from the 'clean up script' This is the first point of failure, and the script is running once each week (scheduled by Jenkins). docker cp ${CLEAN_UP_SCRIPT} ${DOCKER_CONTAINER}:/tmp/${CLEAN_UP_SCRIPT} if [ $? -eq 0 ]; then docker exec -it

can't push/pull from mercurial repository - abort: error: An existing connection was forcibly closed by the remote host

假如想象 提交于 2019-11-29 08:05:42
I am planning to use mercurial for a new project but I'm having some problem accessing the bitbucket repository. I'm new to mercurial, but I have used git previously. I get the following error when peforing a hg clone or push: abort: error: An existing connection was forcibly closed by the remote host I only have this problem when using my work pc, when accessing the repository from my home pc I can clone and push just fine, any ideas, is there some firewall setting that needs to be configured? I'm using Mercurial-2.1.2-x64 on windows 7 x64 for both pcs. So I found the source of the error, I

Bitbucket Cloud的新IP地址

自作多情 提交于 2019-11-29 07:19:00
转载地址 Bitbucket Cloud的新IP地址 我们在做什么? 我们将从2018年7月29日星期日的UTC时间22:00开始逐步推出更改DNS记录,以指向新的IP地址。 预计两周后,即8月15日,所有客户都将完成推出。 此迁移不会有任何停机时间,并且由于此迁移,大多数人不必做任何不同的事情。 我们为什么要这样做呢? Bitbucket近年来取得了惊人的增长,数百万用户在Bitbucket工作以构建更好的软件。 作为其中的一部分,我们正计划进行云迁移,这将允许我们: 利用云中的更多自动扩展功能 轻松添加/删除网络服务容量 与我们的Atlassian PaaS平台共同定位,该平台支持Jira,Confluence,StatusPage和其他Atlassian产品 扩展Bitbucket的基础设施以满足未来需求 我们新的云IP地址空间以及一些底层网络改进将使某些用户的响应时间明显加快,具体取决于位置 同样重要的是,这些变化使我们更容易改善上游网络连接和负载平衡 这会对你有什么影响? 大多数用户不必为此迁移做任何特殊操作。 您的DNS服务器应在迁移后的几分钟内获取新IP,您的系统应立即开始使用新IP。 不过,为了以防万一,我们将保留旧的IP运行几周。 防火墙考虑 如果您使用防火墙控制入站或出站访问,则可能需要更新配置。 请立即将这些新IP列入白名单; 迁移完成后

Libcurl.dll error with Git push

邮差的信 提交于 2019-11-29 06:24:22
问题 Recently I installed Git (Using Bit bucket for repository). I configured everything according to different guides I found on the net, but whenever I use the command git push -u origin --all I get the following error: The procedure entry point curl_multi_timeout could not be located in the dynamic link library libcurl.dll 回答1: It looks like it's an OpenOffice conflict from their libcurl. From my understanding, Openoffice put an old libcurl.dll in the system directory. Try to remove libcurl.dll

How do you keep SourceTree/SSH from forgetting your SSH keys? (I have to manually re-run 'ssh-add' to get it to work again!)

戏子无情 提交于 2019-11-29 04:37:59
问题 UPDATE - It happened AGAIN!!! Ok, so this just happened AGAIN ! MAN is this frustrating!!! But this time I dug a little deeper and found that for some reason, my private keys were unloaded. Specifically, when I call this... ssh-add -l -E md5 I get this... The agent has no identities. However, if I then run this... ssh-add /Users/[username]/.ssh/[private key] Everything works again! SourceTree connects just as it's supposed to. The question is why do I have to keep running the 'ssh-add'

Failed to connect to bitbucket.org port 443: No route to host

半腔热情 提交于 2019-11-29 04:07:43
问题 I am getting error as Failed to connect to bitbucket.org port 443: No route to host when i try to pull or push. The same repositories are available to pull push outside our network. What could be the problem as it was working properly. 回答1: I also got same issue. I tried to update git by ppa, Reset .gitconfig,i checked github repo is getting clone but not bitbucket, i unset http and https proxy, restarted my network services(type in terminal - 'my network services'), changed the network that

Egit adding Eclipse project folder to git repository

百般思念 提交于 2019-11-29 04:01:48
问题 I've created a new empty git repository on BitBucket and now I want to link it to Eclipse. I added the repo to the "Git Repositories" view and created a new project with the same name. I select "Team -> Share Project" then commit and push upstream. Now my repository has folder structure /my-long-project-name/My Long Project Name/ Is there any way to make the project folder the root of the git repository? 回答1: From the EGit Eclipse Wiki page: It is probably not a good idea to make a project

Whats the Proper usage of .gitattributes with merge=ours

本小妞迷上赌 提交于 2019-11-29 03:52:36
I just tried using .gitattributes for the first time. I figure I must be doing something wrong because it is not working as I thought the purpose of using the merge=ours attribute was intended for (?). An example of my usage: I have two branches; one is the "master" and the other is "GCE-Site". There are files on the "GCE-Site" branch that have different settings that also exists on the "master" branch that I do not want merging into the "master" [or other branches]. On both branches, I have a .gitattributes containing the following rules: README.md merge=ours config.php merge=ours

Recovering a deleted branch from a remote on Bitbucket (git)

[亡魂溺海] 提交于 2019-11-29 02:32:29
问题 I want to recover a branch that was deleted from our remote shared repository on Bitbucket. I know that reflog is the way to go with local repositories. How would I got about achieving this on the remote one? 回答1: Four years later... I came across this answer because I deleted a branch through the bitbucket.org UI that a team member wanted restored. I discovered that git branch --remote shows all the branches on origin, even the ones that are deleted through the UI. I checked out the origin