backstage/community-plugins

๐Ÿš€ @backstage-community/plugin-scaffolder-backend-module-azure-devops: Add an option to pass variables to pipeline

Closed this issue ยท 1 comments

Plugin Name

@backstage-community/plugin-scaffolder-backend-module-azure-devops

๐Ÿ”– Feature description

Right now with @backstage-community/plugin-scaffolder-backend-module-azure-devops we can pass organization, pipelineId, project and optionally a branch.

It would be nice to allow an option to pass variable to pipeline so that we can customise the pipeline.

๐ŸŽค Context

In addition to below inputs, if we can have an option to pass variables that would be great

organization: ${{ (parameters.repoUrl | parseRepoUrl)['organization'] }}
pipelineId: ${{ parameters.pipelineId }}
project: ${{ (parameters.repoUrl | parseRepoUrl)['project'] }}

like

organization: ${{ (parameters.repoUrl | parseRepoUrl)['organization'] }}
pipelineId: ${{ parameters.pipelineId }}
project: ${{ (parameters.repoUrl | parseRepoUrl)['project'] }}
pipelineVariables: 
  - variable1: Value1
  - variable2: Value2

โœŒ๏ธ Possible Implementation

No response

๐Ÿ‘€ Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Are you willing to submit PR?

Yes

Closed by
#2142 and
#2163