Skip to content

GitHub Action for Azure Pipelines

Latest
Compare
Choose a tag to compare
@N-Usha N-Usha released this 12 Nov 04:50
fac7336

This action enables you to trigger an Azure pipeline run right from inside an Action workflow.

The definition of this Github Action is in action.yml.

Sample workflow

Use this action to trigger a specific pipeline (YAML or Classic Release Pipeline) in Azure DevOps account.
Action takes Project URl, pipeline name and a Personal Access Token (PAT) for your DevOps account.

- uses: Azure/pipelines@v1
  with:
    azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
    azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
    azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
    azure-pipeline-variables:  '{"variable1": "value1", "variable2": "value2"}' # optional stringified json

Released under MIT license