-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 7.1.2
-
Component/s: Bamboo Specs
-
None
-
1
-
Severity 3 - Minor
Issue Summary
Yaml generated from a Bamboo plan that has artifact download task (in UI) isn't valid when it's used in a specs repo. artifact-download tasks is missing source-plan attribute.
Specs scan fails with an error: Unknown task type artifact-download
Steps to Reproduce
- Create a plan with artifact download task (can be all artifacts or a specific one) which download artifacts from same plan
- Export as YAML
- Use yaml in bamboo-specs/bamboo.yaml and create a specs repository with it
---
version: 2
plan:
project-key: VARS
key: GIT
name: git
stages:
- Default Stage:
manual: false
final: false
jobs:
- Default Job
Default Job:
key: JOB1
tasks:
- checkout:
force-clean-build: 'false'
- script:
interpreter: SHELL
scripts:
- echo "Hello" > hello.md
- artifact-download:
artifacts:
- name: artifact
artifacts:
- name: artifact
pattern: hello.md
shared: true
required: true
Expected Results
Specs scan is successful
Actual Results
14-Oct-2020 06:26:03 Bamboo YAML import failed: Document structure is incorrect: Default Job / tasks / [2]: Unknown task type artifact-download
Workaround
Add source-plan to artifact-download task since it's missing when YAML export happens.
- mentioned in
-
Page Loading...