Skip to content

Menziess/azure-devops-pipeline-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devops-exporter

Build Status

1. Introduction

This script can be used to export Azure DevOps pipelines.

2. Usage

  1. Create a Personal Access Token with read access on the Build and Release scopes:
  2. Copy the .env.example file to .env, and replace the token and organization url placeholders.
  3. Download the .whl
  4. Install the .whl file in a virtual environment (or globally if you prefer)
    pip install *.whl
  5. Run the main .whl as:
    # download build pipelines using installed .whl console script
    devops_exporter 'projectname' --build
    # download build pipelines using .whl
    python -m devops_exporter.main 'projectname' --build
  6. (Alternatively) run code directly as:
    # download release pipelines using python code directly from repo
    python main.py 'projectname' --release
    # download build pipelines
    python main.py 'projectname' --build
    # download build pipelines 1 and 2
    python main.py 'projectname' --build --ids 1 2

About

Download build or release pipelines from Azure DevOps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages