You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default action for flattening shared steps is overwriting, which means that steps in the job configuration will overwrite those defined in the shared steps. See the current implementation according to https://github.com/screwdriver-cd/template-validator/pull/39/files
What you expected to happen:
When screwdriver.cd/mergeSharedSteps is set to true, either from the job or shared configuration, the steps are merged between the shared configuration and those defined in the job template configuration.
Given an example of a pipeline template using job template and annotation screwdriver.cd/mergeSharedSteps with the configuration below.
What happened:
The default action for flattening shared steps is overwriting, which means that steps in the job configuration will overwrite those defined in the shared steps. See the current implementation according to https://github.com/screwdriver-cd/template-validator/pull/39/files
What you expected to happen:
When
screwdriver.cd/mergeSharedSteps
is set to true, either from the job or shared configuration, the steps are merged between the shared configuration and those defined in the job template configuration.Given an example of a pipeline template using job template and annotation
screwdriver.cd/mergeSharedSteps
with the configuration below.The resulting configuration after flattening would be
The text was updated successfully, but these errors were encountered: