bamboo

Maven Release-plugin “tag already exists” for nonexistant tag

a 夏天 提交于 2019-12-23 07:50:28
问题 My setup: git -repository on an Atlassian Stash -server and Atlassian Bamboo . I'm using Maven 3.1.1 with the release-plugin 2.3.2 . The plan in Bamboo looks like this: Check out from git -repository perform a clean install perform release:prepare and release:perform with ignoreSnapshots=true and resume=false Everything up to the last step works fine, but Maven states, that it can't tag the release, because the tag already exists. Here is the log: build 26-Nov-2013 10:36:37 [ERROR] Failed to

Can Bamboo variables be overridden by a Script task?

依然范特西╮ 提交于 2019-12-23 04:36:06
问题 I'm interested in using a script task to override one of these Bamboo plan variables for subsequent tasks but I'm not sure if it's possible or how to go about doing so. It appears that Bamboo allows for various levels of variable overrides for Build Plans all the way down to particular branches however they all seem to require defining the values within the Bamboo UI. The problem with this is that it requires admin privileges to modify these variables whereas some of them need to be modified

Is there a way to create more than one deployment with msbuild on a single build?

为君一笑 提交于 2019-12-23 03:55:13
问题 I am using msbuild command line multiple times to create a deployment zip file for my dev / test / production websites. I have already configured the parameters and configuration xml for each one. I want to know if i can condense my 3 calls to msbuild down to one, and have it build all three at once? right now i have to run msbuild.exe myproject.sln /T:Build /p:DeployOnBuild=True /p:PublishProfile="Dev Server" msbuild.exe myproject.sln /T:Build /p:DeployOnBuild=True /p:PublishProfile="Prod

Sonar java.lang.OutOfMemoryError: PermGen space

血红的双手。 提交于 2019-12-23 03:22:25
问题 I'm getting the following error when running a build in ant buildcallbacks.xml:39: org.sonar.runner.RunnerException: java.lang.OutOfMemoryError: PermGen space It's the part of the build where sonar runs over our code. Is there a way for me to know exactly where this error is coming from i.e is it the sonar server or the client etc ? Here is line 39 of my buildcallbanks.xml <sonar:sonar /> EDIT: I've tried increasing the permsize from the wrapper.conf within Sonar and I still get the same

How to parameterize Bamboo builds?

喜欢而已 提交于 2019-12-22 06:59:15
问题 Please note , although my specific example here involves Java/Grails, it really applies to any type of task available in Bamboo. I have a task that is a part of a Bamboo build where I run a Java/Grails app like so: grails run-app -Dgrails.env=<ENV> Where " <ENV> " can be one of several values ( dev , prod , staging , etc.). It would be nice to "parameterize" the plan so that, sometimes, it runs like so: grails run-app -Dgrails.env=dev And other times, it runs like so: grails run-app -Dgrails

How does sonar:sonar work?

梦想与她 提交于 2019-12-22 04:33:17
问题 We want to use SonarQube with some CI tool in our project. Sonar Server url is configured in main pom.xml . There are several team memebers in the project. So what happen when one team member executes sonar:sonar locally with his local changes, then another team member executes sonar:sonar with his local changes, and then someone executes sonar:sonar from CI tool (it is configured to analyse source code in Git repository)? Will SonarQube display issues related team members local changes? What

Bamboo + sonar.dynamicAnalysis=reuseReports = 0% Rules Compliance

橙三吉。 提交于 2019-12-21 20:08:12
问题 Bamboo is in place to do continuous builds, but want to use Sonar for quality metrics tracking. Unit test pass/fail and Clover code coverage metrics must be captured in Bamboo. But, these same values should be sent to Sonar as well, so as to not increase build duration by running unit tests and Clover twice. Have been able to send these metrics from Bamboo builds to Sonar using "sonar.dynamicAnalysis=reuseReports" directive with the maven build. But the "Rules Compliance" metric in Sonar goes

Bamboo variable replacement in batch file

你说的曾经没有我的故事 提交于 2019-12-21 04:17:13
问题 We're running Atlassian's Bamboo build server 4.1.2 on a Windows machine. I've created a batch file that is executed within a Task. The script is just referenced in a .bat file an not inline in the task. (e.g. createimage.bat) Within the createimage.bat, I'd like to use Bamboo's PLAN variables. The usual variable syntax is not working, means not replaced. A line in the script could be for example: goq-image-${bamboo.INTERNALVERSION}-SB${bamboo.buildNumber} Any ideas? 回答1: You are using the

Azure project Kudu accepts uploaded zip file to the Zipdeploy endpoint but does not deploy

北战南征 提交于 2019-12-18 09:42:06
问题 I have an ASP.NET Core 2.0 API as an Azure App Service with a deployment slot for QA that I have been using for a few months. I develop in VS2017 and I publish to Azure using the built in Publish to Azure App Service component of the project. This is working just fine. I am now trying to move the deployment to a Bamboo deployment server. I am generally following a process similar to this link how to use azure kudu zipdeploy from a bamboo deployment server In my Bamboo build, I run a

Bamboo MsBuild .Net Framework 2.0

こ雲淡風輕ζ 提交于 2019-12-13 19:24:47
问题 My project is .Net Framework 2.0 and I am use Visual Studio 2012. My project build success at my local but project is build error at bamboo server Solution file error MSB5014: File format version is not recognized. MSBuild can only read solution files between versions 7.0 and 9.0, inclusive. 回答1: You need to use version 4 of MSBuild in the "Executable" option as this determines the version of MSBuild tools used to compile the application. Do not confuse this with the version of the .NET