Skip to content

This techhub contains the python script to trigger the azure devops pipeline using the api provided by the microsoft

Notifications You must be signed in to change notification settings

NashTech-Labs/trigger-ado-pipeline-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

trigger-ado-pipeline-python

This techhub contains the Python script helps you trigger a azure devops pipeline using azure devops api.

In this tech hub, the python code will trigger the azure devops pipeline using azure devops api, the pipeline ca be called for any branch specified by the use in input and without any other parameters.

Steps for Execution

  • clone the repository
  • python trigger-ado-pipeline-python.py
  • export the azure devops personal access token for the azure devops organization having permission to trigger the pipeline using the following command:
    • export ADO_PAT=''
  • Enter the values when the program prompot for input
    • pipeline_id
    • organization_name
    • project_name
    • branch_name

About

This techhub contains the python script to trigger the azure devops pipeline using the api provided by the microsoft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages