Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo YAML specs artifact names

Matthew Gibboney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2021

I have a Bamboo plan where with multiple stages written as a yaml spec:

# bamboo.yaml
---
# ... stages:
- Run different stages:
jobs:
- jobA
- jobB

jobA: !include 'runJob.yaml'
jobB: !include 'runJob.yaml'
# ... # runJob.yaml ---
# ...
artifacts:
  - name: ${bamboo.shortJobName}
# ...


The yaml will fail to import with the following error:

Bamboo YAML import failed: com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException: Duplicate shared artifact name ${bamboo.shortJobName}

 

Is there a way to dynamically define a bamboo artifact name?

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 9, 2021

There's no option to define artifact name dynamically

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events