Questions tagged [bamboo-specs]

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

51 questions
4
votes
2 answers

Bamboo: Reuse same yml specs in multiple projects

I'm using Atlassian Bamboo 7.1.1. I'm creating pipelines as a code using YAML. I have one git repository with a YAML specs to reuse in multiples pipelines. Let's call this repo: common-specs Then, I have a repository per microservice. My idea is to…
mrk
  • 640
  • 8
  • 16
2
votes
1 answer

Change bamboo plan so that I can edit it manually rather than editing it via a spec

I have a bamboo plan that is using bamboo specs. When I click on the Actions button to configure the plan, I cannot edit the jobs and stuff in the UI. I have to update the bamboo spec YAML file to change the plan. How do I opt out of this behaviour?…
2
votes
1 answer

How can I "modularize" sections of my Bamboo Specs Java file?

We currently have multiple Bamboo plans that have common stages/jobs/tasks. We just moved to using Bamboo Specs and I would like to pull each common section out into a single "module" so I only have to make changes in one location. From what I…
Jason Templeman
  • 431
  • 5
  • 21
2
votes
3 answers

What is the best way to organize a repository containing multiple Bamboo Specs configurations?

We are just starting to look to implement Bamboo Specs for storing all our configurations in a single git repository. I'm working through some issues with the server not being able to reach the maven resources on the web but thing I have that…
Jason Templeman
  • 431
  • 5
  • 21
2
votes
3 answers

Bamboo scripted buildplans

We are currently using bamboo to build and test our software. Now our build plans are just a bunch of task: execute this bat, execute that bat etc. Created with the Bamboo UI. It happens that over months/years the build plan needs…
RvdK
  • 19,580
  • 4
  • 64
  • 107
1
vote
0 answers

How to retrieve variable in bamboo specs deploy file

I have the following deploy.yaml file deployment: name: a deploy source-plan: dp environments: - first.env first.env: requirements: - name: excel_exec variables: - env_name: first.env tasks: - artifact-download: -…
user2175783
  • 1,291
  • 1
  • 12
  • 28
1
vote
1 answer

How to to define bamboo artifact so its NOT published in syb folder

The artifact definition and the file structure in the bitbucket repository is as below. The build when run creates application-dev.properties & safeguard-dev.properties under classes folder. When i click them it takes me to classes folder inside…
VRK
  • 1,206
  • 3
  • 13
  • 27
1
vote
1 answer

Publish two plans related to each other

I want to publish two plans that are related to each other. But this doesn't work as Bamboo throws an error because the related plan doesn' exist yet. PlanParent has a child dependency to PlanChild. PlanChild has an Artifact download task of…
Michael
  • 2,528
  • 3
  • 21
  • 54
1
vote
3 answers

How can I disable a trigger from a linked repository in Bamboo YAML specs?

We've been using Bamboo YAML specs to run our build plans. We use the default repository + a linked repository in that plan. The build plan now triggers if a commit/new branch has been created in the default repository (=desired behavior), but also…
DutchJ
  • 85
  • 1
  • 8
1
vote
2 answers

How do I remove the implict 'checkout' task from Bamboo YAML

I am using the Bamboo build system to create and deploy a docker image. I have three stages corresponding to: Build Docker Image Tag Image Deploy Image In the build stage I am pulling my Dockerfile, and any other dependencies I need to construct…
Aron
  • 372
  • 5
  • 18
1
vote
0 answers

Is there a way to make a Bamboo Job only visible/executed for a certain branch?

I am using Bamboo specs to configure my Bamboo plans. Now my configuration is using plan branches and for each new branch the configuration is applied: branches: create: for-new-branch Now I have jobs running configured like that: stages: -…
1
vote
0 answers

Bamboo Spec YAML and location of shared artifacts

in the context of using Gradle to drive build, testing, and further jobs/stages on Bamboo server (version 7.2.1) I've configured env. variable GRADLE_USER_HOME to save downloaded Gradle binary to project-local path with the intent to share it with…
Christian
  • 293
  • 2
  • 14
1
vote
1 answer

Bamboo api to get the recent build number for a specific branch

I'm trying to get the latest build number from a specific branch. I'm able to do with the below api call. It get the build number whether the job is success or failed, but not if its ABORTED. can anyone let me know the api call to get the build…
sandy
  • 29
  • 6
1
vote
1 answer

Bamboo specs YAML issue

I'm trying to build a bamboo specs yaml but I'm having some weird errors which have messages that are not helping much. I followed the documentation for it here but still not working. So I have bamboo 7.2.4 and I'm trying to create a…
user2137817
  • 1,825
  • 5
  • 28
  • 45
1
vote
1 answer

Is there a way to import a Bamboo Spec file via the REST API?

I currently try to automate the process of creating a new Bamboo linked repository and start the scan. I've already looked over the documentation of the REST API, tried to generate a new plan and enabling a scan, but that didn't work. I also tried…
Jan
  • 93
  • 3
  • 8
1
2 3 4