Finally I found my mistake... It has nothing to do with the Rule JUnit... It was when I tried to list the files in my directories I had a structure like [TEMP_REPO]\test\test and the separators where hard written. So I replace them by System.getProperty("file.separator") and everything went fine. Hope this...
Commits are actual things (specifically, "objects") that live inside the git repository. They contain text strings giving the author and committer. Once written into an object, these are permanent and unchangeable. Aside: git commit --amend does not change them; instead, it makes a new, different commit, with different data in...
The Bamboo agent machine, or one of the services on it, was not finding the correct JDK. We were able to fix the problem by pre-pending the JDK path to the PATH environment variable.
bash,automation,jvm,continuous-integration,bamboo
Via @Etan Reisner I wasn't installing the bamboo agent as a windows service, despite that being my intention, and that is why the scripts weren't working. To fix this I passed in the installntservice in the java command in the install script. (See: https://confluence.atlassian.com/display/BAMBOO056/Additional+remote+agent+options#Additionalremoteagentoptions-ntservice)...
I finally solved this issue myself. Here is a proper documentation for setting Phpunit with Bamboo https://confluence.atlassian.com/display/BAMBOO/Getting+started+with+PHP+and+Bamboo Also in order to set the PHPunit Executable path, we have to set path as: path/to/executable(phpunit folder).cmd and not just: path/to/executable(phpunit folder) Else When you will run the build task, build will fail...
You can specify in maven-clover2-plugin a configuration of targetPercentage. You can also specify excluded classes <configuration> <targetPercentage>60%</targetPercentage> <excludes> <exclude> myPackage/AppConfig.java</exclude> </excludes> </configuration> ...
grails,continuous-integration,bootstrap,bamboo
Grails makes no guarantees about ordering of BootStrap classes so it isn't something that should be relied about in your application. If you need to control ordering of logic that is run at startup there are better solutions, for example you could use the platform-core plugin's event model to trigger...
java,apache-httpclient-4.x,bamboo,http-proxy,apache-httpcomponents
Finally I figured out by trial and error. Passing java.net.useSystemProxies=true along with https.proxyPort, https.proxyHost resolved this. Basically the java vm command line got -Djava.net.useSystemProxies=true -Dhttps.proxyPort=80 -Dhttps.proxyHost=proxyserver.mycompany.com I didn't have to pass https.proxyUser, https.proxyPassword. I believe proxy authentication used the same credentials as my login NTLM credentials....
There's a celery settings with which you can specify the log level of things written to stdout within celery processes. It's CELERY_REDIRECT_STDOUTS_LEVEL. Use e.g. in your configuration: CELERY_REDIRECT_STDOUTS_LEVEL = 'INFO' Take a look at the docs: http://docs.celeryproject.org/en/2.2/configuration.html I'm not sure about the second log line, but the first should go...
Answer: do not run Bash Command in Bamboo agent, but use node.js plugin So, node.js task with command: node_modules/karma-cli/bin/karma arguments: start config/karma.conf.js --single-run Then it works fine....
amazon-web-services,npm,bamboo,atlassian
I have your answer, go to C:\opt\node-v0.10.35\node_modules\npm then open the file npmrc using the notepad and replace he following line: prefix=${APPDATA}\npm with prefix=C:\opt\node-v0.10.35\node_modules\npm That's the solution. Make sure you have administrator permissions for that folder.
Answering my own question. The error message is confusing. One of the properties was not available on the CI configuration. For some reason, the replacer plugin does not allow the text in <value> to contain {, and an error is thrown, even though the error text makes it appear to...
As explained in this link, the main difference between local and remote agents is where they run: Local agents run on the same machine as the Bamboo server. They even run as part of the same process/JVM. Remote agents can pretty much run anywhere. A dedicated server or VM in...
linux,spring-security,spring-aop,bamboo,nosuchmethoderror
I had a problem like the one that you described in the past. That weird behaviour is possible because the order of the class loading isn't guaranteed. So, it's possible that the same WAR file works on one server and fails on another one. The easy way to debug that...
automation,dependencies,bamboo
A dependency tree is usually setup as a parent triggering one or more child plans. In this case you could set the three plans to build sequentially - Plan 1 completion triggers Plan 2, and Plan 2 completion triggers Plan 3. The downside is a longer overall time to build,...
The TaskType Module Definition's category element within atlassian-plugin.xml is purely informational, i.e. only determines into which section of Bamboo's task selection dialog the task will be sorted. Section Introduction to 5.0 - Deployments within the Bamboo Developer Documentation explains the underlying concepts and necessary changes so that a task supports...
variables,batch-file,bamboo,atlassian
set bamboo_releaseDate = %mydate% ^ ^ The spaces are included in the name of the variable and in the value. So, you are assigning value to a new variable (that includes a space in its name), not to the existing one (without the space). Replace with set "bamboo_releaseDate=%mydate%" Now, there...
selenium-webdriver,maven-3,bamboo
Found an work around for the problem. I am posting that as an answer for anyone who will go through this situation. But think there will be (Should be) a better answer for this. Please post if you know a better way. First (for us) this situation occurs only when...
rest,automation,continuous-integration,bamboo
This seems to be a work around but I believe it can help resolve your issue. Atlassian has a free plugin call Bamboo Inject Variables Plugin. Basically, with this plugin, you can create an "Inject Bamboo Variables from file" task to read a variable from a file. So the idea...
continuous-integration,soapui,bamboo
Problem is solved. Solution: POM-plan in Bamboo-correct dependencies. For jms I used "geronimo" <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> <version>1.1.1</version> </dependency> ...
git,build,continuous-integration,bamboo,atlassian
Add a tag to the last non-testing commit git tag backup Then continue to work like you did git add .;git add -A;git commit -m "Trigger Bamboo build.";git push Once you have found a Bamboo setup that works for you, revert your local changes by going back to the commit...
php,unit-testing,phpunit,bamboo,atlassian
Found solution to my problem. While setting Executable path you have to set path as: path/to/executable(phpunit folder).cmd and not just: path/to/executable(phpunit folder)...
administration,bamboo,selenium-chromedriver,huxley
I posted this question on Atalassian Answers and got this response from an Atlassian developer. Looks like this tool needs actual X Server display. In order to make it work on a headless Ubuntu you'll need to install xvfb and use xvfb-run command to run your tool with a virtual...
rest,continuous-integration,bamboo
Yes, it can be done. POST to the build queue service: https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources#BambooRESTResources-BuildQueueService
templates,continuous-integration,bamboo
That isn't currently possible, unfortunately: A fairly old feature request for plan templates to reuse across projects (BAM-907) has been resolved as Fixed due to the introduction of plan branches in Bamboo 4.0 (see Using plan branches for details): Plan Branches are a Bamboo Plan configuration that represent a branch...
git,salesforce,build-process,bamboo
Solved it using git log --pretty=format: --name-only --diff-filter=D ${bamboo.repository.previous.revision.number}..HEAD --summary | sort -u > removals.txt results in a nice clean output of removed files...
In artifact definition screen: For Location specify a relative path to the files you want to create artifact For Copy pattern, specify the pattern to be copied. For you case, put ./release into the Location box, then specify *.bz2 as a copy pattern. For more info, see this issue https://jira.atlassian.com/browse/BAM-2149...
You have at least to options: Customize the manifest entries. The war plugin allows you to add some information into the manifest file. Some examples are on the usage page: https://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html (note: today its ${project.version} and not ${pom.version}. The ear plugin has options to specify a manifest file or set...
c#,resharper,sonarqube,bamboo,stylecop
You cannot use an existing .DotSettings file with SonarQube's R# plugin at the moment. This feature however will be added in the upcoming release of the R# plugin, refer to http://jira.sonarsource.com/browse/SONARRSHPR-15 for details. Note: The re-use reports mode was already supported in the past (with the C# plugin version 2.x),...
svn,continuous-integration,bamboo
problem solved: I used variables to generate the repository path and wanted to control the svn-path from the bamboo variables. This intention of having a dynamic task killed my process and mixed the revision/checkout.
git,msbuild,continuous-integration,bamboo
It was password issue for submodule which is fixed. Now I'm getting this error Failure in artifact preparation phase during processing of: Subscription for Shared artifact: [bla, pattern: [**] anchored at: [deploy_artifact], destination: [] – Log message "C:\bamboo-home\artifacts\XXX\shared\build-xxxx\package is not a directory" You can look at this thread: Did...
ant,scp,bamboo,atlassian-stash
Ok I figured out a way to complete what I was looking to do. Basically, I ended up creating a few more targets in my ant build file that (re)moved files to achieve the structure that I wanted.
Yes, if you navigate to the job workspace, you will find that Bamboo does not do a straightforward git clone "under the hood", and the the remote is set to an internal file path. Fortunately, Bamboo does store the original repository URL as ${bamboo.repository.git.repositoryUrl}, so all you need to do...
windows,node.js,powershell,continuous-integration,bamboo
If you do a default installation of nodejs you will see that it adds nodejs and npm to the path. Sometimes I have seen that the installer adds a user variable named PATH - it might be that the Bamboo agent decides to read the user path without "merging" it...