Giter VIP home page Giter VIP logo

azure-builds-browser's Introduction

A simple browser for Azure Devlops Builds and Artifacts.

Features

  • allows browsing azure builds using tags
  • allows browsing azure build artifacts and their content
  • supports in-browser artifact content rendering
  • supports permalinks

Usage

Update appsettings.json and set:

"DevopsClient": {
  "PersonalAccessToken": "[PERSONAL ACCESS TOKEN]",
  "ProjectUri": "https://dev.azure.com/[ORGANIZATION]/[PROJECT]"
} 

as well as AzureAd section.

Compile and run.

Supported pages

Uri Meaning
/ List of available build tags
/t/{tag} List of builds with selected {tag}
/t/{tag}/r/{repository} List of artifacts for build from {repository} with {tag}
/b/{buildId} List of artifacts for build {buildId}
/t/{tag}/r/{repository}/a/{artifact} List of files in {artifact} for build from {repository} with {tag}
/b/{buildId}/a/{artifact} List of files in {artifact} for build {buildId}
/t/{tag}/r/{repository}/a/{artifact}/f/{filePath} Displays the file content of {filePath} from {artifact} for build from {repository} with {tag}
/b/{buildId}/a/{artifact}/f/{filePath} Displays the file content of {filePath} from {artifact} for build {buildId}

Globbing

Artifacts

It is possible to select artifact name using * wildcard. The artifact with matching name and the highest ID will get selected, where the intention of using ID ordering is to pick up the lastest matching file.

The solution is designed to be working with multiple stage reruns that generates artifacts of the same type with different suffixes, like:

  • tests-attempt1
  • tests-attempt2

Specifying tests-* will match the one with highest ID, hopefully tests-attempt2.

Zip file content

It is possible to navigate through the zip file content and use * to select a file with latest lastWrite date. The * can be used to match path fragments, but it won't work to match path separator, i.e. /.

Example usage: /t/my-tag/r/my-repo/a/tests-attempt*/f/tests-attempt*/*.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.