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?
There's no option to define artifact name dynamically
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.