Questions tagged [bamboo-specs]

Atlassian Bamboo builds and deployment management with Java and YAML code.

51 questions
1
vote
2 answers

How to publish gradle test result in bamboo build?

I am using bamboo build definition to build java code and also running tests but don't have idea about how to publish test result.
Naveen Kumar
  • 1,266
  • 1
  • 21
  • 50
1
vote
1 answer

Use docker in bamboo specs

I'm trying to use docker to build NPM projects with Bamboo. How do I do it? --- version: 2 plan: project-key: WEBSITE name: Build key: BD stages: - Lint and Test: - Lint - Build Artifact: - Build Artifact - Publish Image: …
bear
  • 11,364
  • 26
  • 77
  • 129
1
vote
2 answers

Performing npm install inside bamboo agent

I need to run npm install and npm run coverage inside the bamboo plan. I am facing the issue like in some bamboo agents which is picked up dynamically at run time the npm install is happening without any issues and the coverage runs successfully.…
Ranjith
  • 157
  • 1
  • 13
1
vote
1 answer

Bamboo - build for branches dynamically given at runtime

Good day. I would need to run the Bamboo plan which will dynamically get the branch at run time . For example , if i run the plan and it should prompt me for branch and lets say if i give feature_1 as my branch name , then it should build the…
Ranjith
  • 157
  • 1
  • 13
1
vote
2 answers

Viewing test results for a failure on bamboo

I run the test on bamboo with selenium technology and the test tab does not show the test failure, how I can view the test failure?
0
votes
0 answers

How to add multiple tags in bamboo plan variable?

how to add multiple tags in a bamboo plan variable for execution. I tried with @tag1, @tag2. but its not working. its giving error giving oio.cucumber.core.exception.CucumberException: Failed to parse 'cucumber.filter.tags' with value @tag1, tag2
satya28
  • 1
  • 1
0
votes
0 answers

I need to understand how to enable allure plugin in bamboo using bamboo specs code in java

I am trying to run few tests on bamboo and creating an artifacts with it. now i want to use allure plugin to analyze these artifacts and create a report using it. So i have installed the allure plugin inside the bamboo server. Now i want to enable…
0
votes
0 answers

Unable to locate bamboo.yaml for one repository multiple projects

I have a repository api-services within which I have three projects api-1, api-2, api-3. Whither bamboo-specs folder is within these projects. While creating specs, I am unable to point to these projects within the repo. If I point just the repo,…
0
votes
1 answer

Bamboo java specs get default branch name

I want to set artifactBaranch for auto deployment in bamboo but before that I would like check if that branch is default or not. If that branch is default then I will not set the artifact branch name. So my question is, is there any way to get…
Summy Saurav
  • 385
  • 1
  • 3
  • 8
0
votes
1 answer

Error in Bamboo Specs while triggering build plan for master branch

Default branch in Bamboo spec is master for the repository. At the time of Auto deployment trigger, Bamboo specs deploying master branch only, but sometimes even if default branch is updated to feature branch, I want to trigger master only. I am…
KJ21
  • 63
  • 7
0
votes
0 answers

is it possible to define jobs completely in stage instead of declaring just its name in bamboo yaml specs?

I need to define jobs of stage completely in defining stage block instead of declaring its name in that block and define that in bamboo.yaml but when I do this it says " Element is of wrong type. Expected StringNode, found MapNode. "this is my…
0
votes
1 answer

SSH option not visible under Bamboo shared credentials option

Under Bamboo (Datacenter) shared credentials option, only the "AWS" option is visible. How do we enable SSH under the shared credentials option?
mair
  • 325
  • 1
  • 5
  • 14
0
votes
0 answers

Bamboo specs create plans with circular dependency

I am trying to specify multiple plans in bamboo specs (8.1.3) but those happen to have circular dependency: Plan A (Unit tests) when finished - emits artifacts and triggers Plan B Plan B (Sonar scanner) requires artifacts from Plan A So in specs: A…
Krokiet
  • 131
  • 1
  • 10
0
votes
1 answer

Can I deploy bamboo.yml YAML specs manually?

I am trying to learn how YAML specs works in Bamboo. So far I achieved to deploy the plan following the official documentation. enter link description here The documentation explains that you need to create a bitbucket repository, create bamboo.yml,…
vsergi
  • 705
  • 1
  • 6
  • 16
0
votes
1 answer

Trigger Bamboo build plan only for master branch

I have a Bamboo plan to build and then deploy my application. There's another build plan which should be triggered after the deployment of the first one. This is done with the after-deployment trigger: triggers: - after-deployment: …
Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139