Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

How to get build id from ms.vss-build-web.build-results-tab #143

@szymon-wesolowski

Description

@szymon-wesolowski

I'm useing new Azure DevOps Extensions SDK.

`import * as React from "react";
import * as SDK from "azure-devops-extension-sdk";

import { showRootComponent } from "../Common";

class BuildTabContent extends React.Component<{}, {}> {
constructor(props: {}) {
super(props);
}

public componentDidMount() {
    SDK.init();
    this.initializeComponent();
}

private async initializeComponent() {
    await SDK.ready();

    const configuration = SDK.getConfiguration();
    console.log(configuration)
}

public render(): JSX.Element {

    return (<div className="page-content">
        Hello World
    </div>
    );
}

}

showRootComponent();`

How to get build id from ms.vss-build-web.build-results-tab when the configuration is empty?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions