timmydo / vstsdropdownloadcore

.net core exe to use rest apis to down a portion of a vsts drop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

VSTS Drop downloader for Linux

Steps to create container (uses a docker multistage build)

  • docker build . -t paulgmiller/vstsdropdownloadcore
  • docker push paulgmiller/vstsdropdownloadcore (obviously you can't push to paulgmiller so choose your own docker namespace)

In the release definition you need to set.

In agent phase settings

allow scripts to access oauth

In task

  • ImageName: paulgmiller/vstsdropdownloadcore
  • Volumes: $(System.DefaultWorkingDirectory):/drop
  • Environment variables to set (you can all use commandline args)
    • RELATIVEPATH: whatever subpath
    • VSTSPAT: $(System.AccessToken) (VSTS personal access token)
    • DROPDESTINATION: Destination for drop data (or /drop if unspecified)
    • DROPURL: Drop URL to query

About

.net core exe to use rest apis to down a portion of a vsts drop.


Languages

Language:C# 94.6%Language:Dockerfile 4.1%Language:Shell 1.3%