bitbucket

Is it possible to Git merge / push using Jenkins pipeline

感情迁移 提交于 2019-12-02 22:08:35
I am trying to create a Jenkins workflow using a Jenkinsfile. All I want it to do is monitor the 'develop' branch for changes. When a change occurs, I want it to git tag and merge to master. I am using the GitSCM Step but the only thing that it appears to support is git clone. I don't want to have to shell out to do the tag / merge but I see no way around it. Does anyone know if this is possible? I am using BitBucket (on-prem) for my Git server. It is not possible at the moment because GitPublisher plugin, the plugin previously responsible for tagging/merging/pushing in freestyle jobs, has not

Create a BitBucket git commit hook?

让人想犯罪 __ 提交于 2019-12-02 22:06:16
I just ported over a repo from GitHub to BitBucket. Although it does many of necessities, I'm finding it surprisingly difficult to find documentation for creating a git commit hook. Originally I had a ruby app on a CentOS server that was triggered by a GitHub hook. Does anyone know how to achieve the same in the BitBucket environment? Thanks! Edit: here's what the ruby app simply looks like if it helps: post '/' do `rm -rf repofolder` `git clone https://user@bitbucket.org/user/repo.git` `sh fast_deploy.sh` end I was able to find a solution. Although John Percival's answer is right, no current

Best practices for Xcode + Git for multi-developer projects

允我心安 提交于 2019-12-02 20:46:00
I can create a repo and use GitHub / BitBucket fine for my own projects. I have had problems when collaborating with other developers or trying to fork a project on GitHub. I am aware of other answers like Best practices for git repositories on open source projects but there are OSX / Xcode specific problems I want to know how to solve. .DS_Store files can be a pain. You can use .gitignore to prevent, but what happens if they have already been included, or another developer adds them back in through a clumsy git command? The .xcodeproj will have changes to the directory names and developer

Extension for Visual studio unknown error - unable to push or fetch anything

ⅰ亾dé卋堺 提交于 2019-12-02 20:41:51
I have an error when I try to push anything to my bitbucket repository via Git extension for visual studio: Error encountered while pushing branch to the remote repository: Git failed with a fatal error. HttpRequestException encountered. An error occurred while sending the request. cannot spawn /C/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory could not read Password for ...... What could be the issue here? It seems to affect some Visual Studio

Android CI using Bitbucket Pipelines and Docker

。_饼干妹妹 提交于 2019-12-02 20:18:28
I am trying to set up Continuous Integration (CI) in Bitbucket Pipelines for Android. I have created a sample blank activity using Android Studio 2.1.1. With Pipelines I'm using the uber/android-build-environment Docker container which creates the environment nicely. Here is my bitbucket-pipelines.yml image: uber/android-build-environment:latest pipelines: default: - step: script: - echo y | android update sdk --filter "extra-android-m2repository" --no-ui -a # Grab the Android Support Repo which isn't included in the container - ./gradlew assembleDebug Some changes are needed since uber

Git error remote: Empty password

柔情痞子 提交于 2019-12-02 19:56:36
I'm trying to clone my git repo from bitbucket, and when I enter this command: git clone https://naor_shoyhat@bitbucket.org/naor_shoyhat/hello-world.git The bash then prompts me a window with areas to enter username and password. I enter them and then I receive this error: remote: Empty password fatal: Authentication failed for 'https://naor_shoyhat@bitbucket.org/naor_shoyhat/hello-world.git/' I'm using git(2.12.2) 64-bit on Windows 10. My solution is simply close the login window which you have to type account and password, and a SSh window will pop out, then you type your password. I know my

push from bitbucket repository to shared hosting ftp server

孤街浪徒 提交于 2019-12-02 19:33:20
I am using Bitbucket for managing my private repositories. I wish to deploy the files that are being updated on every commit to the ftp server. I google'd out and found many scripts, but couldn't succeeded with any of them. The ftp server is an shared hosting server which is accessed by Filezilla in FTP explicit connection mode. I don't want to use any third party online applications. Please guide me a walk through to the solution. I am trying to use this But which key must be entered in the deployment key of Bitbucket account? Private or Public? You can use the new bitbucket tool, Pipelines!

bitbucket, “hg push” and “hg update”

那年仲夏 提交于 2019-12-02 19:18:06
If I start out with a local mercurial repo, which I consider to be the "main" repo (pardon me my dvcs lords), and intend to use bitbucket as a backup and issue tracking facility, I can do all my changes in my local repo and do an "hg push" to send the changes back to bitbucket. Don't I need to follow this "hg push" command run on my local machine with an "hg update"? Why do you care what's in the working directory on BitBucket's servers? As long as you push the changes will be in the repository and visible on the BitBucket page. EDIT: OK, I'm going to edit this to be a useful answer. Say you

How to Commit and Push Android App/Project to Pre-existing Empty Bitbucket Repository with Android Studio?

 ̄綄美尐妖づ 提交于 2019-12-02 18:53:26
So I'm running the latest version of Android Studio (0.6.1) and want to push to BitBucket because it has free private repos (let's avoid any Github vs BB comments). I've created a simple repo to test the VCS functionality and am using a new Android project with the default configs except the app is called 'TestApp' and the project file is located on my desktop. I've performed the following steps: VCS>Import into Version Control>Create Git Repository Use default path: "C:\Users\User\Desktop\TestApp" VCS>Git>Checkout from Version control Give https://sanecito@bitbucket.org/sanecito/testrepo.git

Incompatible Bitbucket plugin 1.2.1 for Android Studio 2.0/2.1/3.0+

一曲冷凌霜 提交于 2019-12-02 18:45:34
I have updated version of my Android Studio to 2.0 and is facing incompatibility issue of bitbucket plugin 1.2.1 when loading Android Studio. Android Studio's Event log is saying: "Plugin Error Problems found loading plugins: Following plugins are incompatible with current IDE build: Bitbucket" Can anyone help me regarding? Thanks in advance. Alex Try use jetbrains bitbucket connector, open this link and download the package: https://drive.google.com/open?id=1L0bEhoCIrV9Jced1fqdYscI34wwuKyvQ After dowloading you need install this plugin (Don't extract the package). In Android Studio, follow