github-actions/pipelines
Atul Bagga cb630b3bef vsts-cli replaced with azure-devops extension (#51)
* Change the cli from vsts-cli to azure-devops extension in github actions for pipelines and boards

* Fix instance-organization renaming missed earlier.

* Fix login command which does not take token in command params anymore

* syntax fix

* change step location for extension install

* Move extension install from docker file to entrypoint.sh

* Avoid git blame noise

* Update entrypoint.sh
2019-02-26 09:57:21 +05:30
..
Dockerfile vsts-cli replaced with azure-devops extension (#51) 2019-02-26 09:57:21 +05:30
README.md Azure DevOps configuration updates (#49) 2019-02-25 18:31:33 +05:30
entrypoint.sh vsts-cli replaced with azure-devops extension (#51) 2019-02-26 09:57:21 +05:30

README.md

GitHub Action for triggering Azure YAML Pipelines

Usage


action "Trigger Azure Pipelines" {
  uses = "Azure/github-actions/pipelines@master"
  env = {
		AZURE_DEVOPS_URL = "<Azure DevOps URL>"
		AZURE_DEVOPS_PROJECT = "<Azure DevOps Project Name>"
		AZURE_PIPELINE_NAME= "<Azure Pipeline Name>"
	}
  secrets = ["AZURE_DEVOPS_TOKEN"]
}

Secrets

  • AZURE_DEVOPS_TOKENMandatory

Environment variables

  • AZURE_DEVOPS_URLMandatory; the fully-qualified URL to the Azure DevOps organization (eg, https://dev.azure.com/organization or https://server.example.com:8080/tfs/DefaultCollection)
  • AZURE_DEVOPS_PROJECTMandatory
  • AZURE_PIPELINE_NAMEMandatory