bitbucket-server

Notify build status from Jenkins to Bitbucket Server

為{幸葍}努か 提交于 2019-12-05 03:42:32
We have installed Jenkins v2.7.3 and Bitbucket Server v4.9.1 on premise and would like to send build status as notifications from Jenkins to Bitbucket Server. So far I have only found solutions (1 and 2) for Bitbucket Cloud, but nothing for Bitbucket Server. Any tip on how to make this happen? https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Cloud+Build+Status+Notifier+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+OAuth+Plugin KeepCalmAndCarryOn You might get some use out of the stash plugin as BitBucket is based on Stash code . What Atlassian had to say: We have unified

Making HTTP requests during maven archetype:generate

二次信任 提交于 2019-12-05 03:18:42
问题 I'm building an archetype for creating standardised projects within the company. The actual project files generated are fine, I'd now like to integrate the archetype with the process of setting up infrastructure, such as Stash repositories and Jenkins jobs. For example, simplistically I'd like the maven archetype:generate process to include an HTTP REST POST to http://stash.example.com/rest/api/1.0/projects/LABS/repos/{artifactId} in order to create a GIT repo. Likewise something similar for

Making HTTP requests during maven archetype:generate

江枫思渺然 提交于 2019-12-03 20:26:16
I'm building an archetype for creating standardised projects within the company. The actual project files generated are fine, I'd now like to integrate the archetype with the process of setting up infrastructure, such as Stash repositories and Jenkins jobs. For example, simplistically I'd like the maven archetype:generate process to include an HTTP REST POST to http://stash.example.com/rest/api/1.0/projects/LABS/repos/{artifactId} in order to create a GIT repo. Likewise something similar for Jenkins build jobs. I would be nice if, prior to creating the maven project, some tests could be done

Git and Visual Studio project references

房东的猫 提交于 2019-12-03 06:42:11
问题 Alrighty then, the short version of my question would be: What is the best way to handle project references in Git when you have projects that are shared across multiple solutions and how should my Git repos be organized? The long version is: We are a small dev team(5 developers) and currently we use TFS as our source control and build server and Visual Studio is our IDE of choice. I've always been keen on trying new things and trying to improve our dev environment so I decided to read up on

Jira: assign an existing git branch to an issue

回眸只為那壹抹淺笑 提交于 2019-12-02 21:48:11
In JIRA connected with STASH you can create a feature branch for an issue using the button 'create branch'. (That is nice to track the commits in this issue.) If a developer started working but did not know that there is such an issue he did not click the 'create branch'. Is there any possibility to assign an existing git branch to an issue? ex-Stash developer here. Yes and no. Creating the branch though the UI is just a convenience. The important thing is that the name contains the JIRA key. If only one developer is working on the branch, it's fairly easy to just rename (delete + add) a

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

Git and Visual Studio project references

白昼怎懂夜的黑 提交于 2019-12-02 20:19:53
Alrighty then, the short version of my question would be: What is the best way to handle project references in Git when you have projects that are shared across multiple solutions and how should my Git repos be organized? The long version is: We are a small dev team(5 developers) and currently we use TFS as our source control and build server and Visual Studio is our IDE of choice. I've always been keen on trying new things and trying to improve our dev environment so I decided to read up on Git to find out if it would be good replacement for the source control part of TFS. We just integrated

git push to bitbucket fails immediately

北城以北 提交于 2019-12-02 16:24:31
问题 With error Unable to lookup 'my bitbucket account' (port 9418) (A non-recoverable error occurred during a database lookup.) on a corporate bitbucket repository. It fails so quickly, it doesn't seem to be looking up anything. It almost feels like I need to clear out cache, but don't know if that's even possible. It has worked in the past with no issues and seems to be all of a sudden. I can log into the repository with no problem. Error only happens on push, clone, or pull. 回答1: I'm going to

git push to bitbucket fails immediately

假如想象 提交于 2019-12-02 09:58:57
With error Unable to lookup 'my bitbucket account' (port 9418) (A non-recoverable error occurred during a database lookup.) on a corporate bitbucket repository. It fails so quickly, it doesn't seem to be looking up anything. It almost feels like I need to clear out cache, but don't know if that's even possible. It has worked in the past with no issues and seems to be all of a sudden. I can log into the repository with no problem. Error only happens on push, clone, or pull. I'm going to assume, based on that port, that you're using the native git protocol on port 9418 instead of HTTPS or SSH -

Git Error : [remote rejected] master -> master (missing necessary objects)

倾然丶 夕夏残阳落幕 提交于 2019-12-01 22:08:04
问题 I've a rather worrying problem with git. A few days ago I was committing some changes when the server git was on blue screened. (We think it was actually caused by git.) Since then I've not been able to commit any changes to the repository, while others can. I can no longer commit changes to the files I was committing when the server crashed, however I can commit changes to other files. I've tried creating a fresh directory and cloning into it. As well as a git stash , git pull --rebase , git