Skip to content
Cake Addin for work with work items boards.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
ci
nuspec
shared/Cake.Board.Testing
src
test
tools
.editorconfig
.gitattributes
.gitignore
Cake.Board.ruleset
Cake.Board.sln
CommonAssemblyInfo.cs
Directory.Build.props
Directory.Build.targets
LICENSE
README.md
build.cake
build.cmd
build.ps1
gitversion.yml
global.json
stylecop.json

README.md

Cake.Board

Cake Addin for work with work items boards.

Gitter codecov

Build status

OS Build & Test
Windows x64 Build Status
Linux x64 Build Status

Publish packages status

Package NuGet NuGet Pre-Release
Cake.Board.Abstractions Nuget (with prereleases) Nuget (with prereleases)
Cake.Board Nuget (with prereleases) Nuget (with prereleases)
Cake.Board.AzureBoards Nuget (with prereleases) Nuget (with prereleases)

Usage

Azure Boards

In order to usage this addin, add to your Cake script.

#addin "nuget:?package=Cake.Board"
Task("GetWorkItemById")
  .Does(async () => 
  {
    IWorkItem workItem = await GetWorkItemByIdAsync(
      new AzureBoards(
        EnvironmentVariable("PERSONAL_ACCESS_TOKEN"),
        EnvironmentVariable("AZURE_DEVOPS_ORGANIZATION")),
      id);
  });

or

Task("GetWorkItemsByQueryIdAsync")
  .Does(async () => 
  {
    var board = new AzureBoards(
      EnvironmentVariable("PERSONAL_ACCESS_TOKEN"),
      EnvironmentVariable("AZURE_DEVOPS_ORGANIZATION"))
      {
        Project = EnvironmentVariable("AZURE_DEVOPS_PROJECT"),
        Team = EnvironmentVariable("AZURE_DEVOPS_TEAM")
      };

    IEnumerable<IWorkItem> workItems = await GetWorkItemsByQueryIdAsync(
      board,
      queryId);
  });

License

MIT license

You can’t perform that action at this time.