bitbucket

TeamCity with BitBucket Cloud Commit Status Publisher. 404 Errors

旧街凉风 提交于 2019-12-04 18:05:48
I'm having problems getting the commit status publisher to work. Details: TeamCity 9.1 Commit Status Publisher Plugin version: snapshot-20160523141816 Bitbucket Cloud git repository type on bitbucket.org VCS Settings: Configured to use the private key auth (w/ uploaded key) Multiple branches configured. Not using VCS Labeling No PUSH URL specified (should be failing back to FETCH URL, right?) Commit Status Publisher Settings: I've experimented with these settings, neither email addresses nor usernames work. But whenever something should publish a commit message, I get this pop up in the

how to display ipynb notebook file in bitbucket?

一世执手 提交于 2019-12-04 17:40:35
问题 My notebook is displayed in its raw Json text in Bitbucket webpage. I'd like it is able to render a jupyter notebook to my collaborators Anyone know how can I view is as a notebook like in Jupyter notebook? 回答1: I found a solution from Bitbucket dev post: To install the addon, click your avatar in the lower left corner and select "Integrations". You should now see "Bitbucket Notebook Viewer" listed in the addon listings. Once you have installed the addon you will get the option to render as a

How do I configure Git to pull from one repo and push to another?

谁都会走 提交于 2019-12-04 17:36:51
I've cloned a public GitHub repo [remote origin] for a class I'm taking and pull my assignments from it. After I do the assignments I'd like to push my work to a private BitBucket repo [remote bitbucket] which I created with the commands (fake repo name): $ git remote add bitbucket https://neilostrove@bitbucket.org/neilostrove/bb-repo.git $ git push -u bitbucket --all Password: Counting objects: 2856, done. ... Branch master set up to track remote branch master from bitbucket. Branch work set up to track remote branch work from bitbucket. $ git push -u bitbucket --tags Password: Everything up

How can I make Jenkins only build feature branches if they have changed when triggering from bitbucket

泄露秘密 提交于 2019-12-04 17:17:24
问题 I have a Jenkins job that builds branches that match "origin/feature/**". Bitbucket triggers the job to build whenever there are changes to the repository via a repository hook (https://confluence.atlassian.com/display/BITBUCKET/Jenkins+hook+management). This works fine whenever there is a change on a feature branch, the job recognizes that the branch has changed and builds it. However, when there is a commit to a non-feature branch (eg. a merge to develop or master) bitbucket still triggers

I deleted the known_hosts file from .ssh folder and I can't pull or push in BitBucket repositories

大城市里の小女人 提交于 2019-12-04 17:16:39
问题 I made a mistake and deleted the "known_hosts" file in ".ssh" folder! Now I can't pull or push in BitBucket repositories. How can I solve it? 回答1: Try executing: ssh -T git@bitbucket.org It would give you a message somethign like: The authenticity of host 'bitbucket.org (207.223.240.181)' can't be established. RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40. Are you sure you want to continue connecting (yes/no)? yes Say yes after verifying the host fingerprint (see

How to trigger a jenkins pipeline from a bitbucket repository

流过昼夜 提交于 2019-12-04 15:16:57
问题 I have successfully setup a webhook trigger in bitbucket for a Jenkins freestyle project, for test purposes. Unfortunately my Jenkins project is using the Pipeline format, and I am unable to get Bitbucket to trigger that kind of project; the problem seems to be that there is no Jenkins project registered to pull from the repo that the Bitbucket webhook is coming from, and Jenkins replies with: Error: Jenkins response: No git jobs using repository: ssh://git@myhost:7999/xxx/testing-jenkins.git

Push a folder from Bitbucket repo to public server using Pipelines

和自甴很熟 提交于 2019-12-04 12:52:27
问题 I have pipelines enabled in my Bitbucket repository and I need to run Angular 2 build and deploy the dist folder (which gets created after the build command is executed) in my server after every build. I have following in my bitbucket-pipelines.yml file: image: node:4.6.0 pipelines: default: - step: script: # Modify the commands below to build your repository. - npm install - npm run build:prod I found this code snippet on the Internet: - apt-get update - apt-get -qq install git-ftp - git ftp

How to pull a BitBucket repository without access to hg

时光毁灭记忆、已成空白 提交于 2019-12-04 12:43:42
I was wondering if it was possible to pull a private mercurial repo to a server without access to hg. I have SSH access, but do not have the ability to install HG. I was thinking some kind of Python script that used http access or something, but I wasn't sure. I was also thinking this might only be possible with public repos. I am currently hosting the projet on BitBucket. Thanks for any input! Ry4an Brase What good would getting the repository be if you don't have mercurial installed and can't install it? Do you instead mean get the files in a specific revision? If so you can easily do that

OpenShift 3 : unable to clone a private BitBucket repository

允我心安 提交于 2019-12-04 10:59:31
问题 I'm trying to migrate from OpenShift 2 to OpenShift 3. I have created a new app on OpenShift 3 but I'm struggling to clone my BitBucket private git repository to it. (I had no problem with OpenShift 2). I have tried setting secrets (SSH or Basic Authentication) in Build/Advanced Options but without luck. Here is the error message : Cloning "git@bitbucket.org:(myusername)/(myrepository).git" ... error: build error: Host key verification failed. fatal: Could not read from remote repository.

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

给你一囗甜甜゛ 提交于 2019-12-04 10:44:45
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 accessing it in Hudson with https, and everyone on the web seems sold on ssh. So I have tried to make it