How to use the @jenkins-cd/blueocean-core-js.capabilityAugmenter.augmentCapabilities function in @jenkins-cd/blueocean-core-js

To help you get started, we’ve selected a few @jenkins-cd/blueocean-core-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / util / smart-fetch.js View on Github external
                .then(data => augmenter.augmentCapabilities(data))
                .then(successAndFreeze)) // add success field & freeze graph
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / github / api / GithubCreationApi.js View on Github external
        return this._fetch(createUrl, { fetchOptions }).then(pipeline => capabilityAugmenter.augmentCapabilities(pipeline));
    }
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / github / api / GithubCreationApi.js View on Github external
            .then(response => capabilityAugmenter.augmentCapabilities(response))
            .then(data => this._findExistingOrgFolderSuccess(data), error => this._findExistingOrgFolderFailure(error));
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / github / api / GithubCreationApi.js View on Github external
            .then(orgs => capabilityAugmenter.augmentCapabilities(orgs))
            .then(orgs => this._listOrganizationsSuccess(orgs), error => this._listOrganizationsFailure(error));
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / credentials / CredentialsApi.js View on Github external
            .then(data => capabilityAugmenter.augmentCapabilities(data))
            .then(creds => this._listAllCredentialsSuccess(creds), error => this._listAllCredentialsFailure(error));
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / bitbucket / api / BbCreationApi.js View on Github external
            .then(data => capabilityAugmenter.augmentCapabilities(data))
            .then(pipeline => this._createMbpSuccess(pipeline), error => this._createMbpFailure(error));
github jenkinsci / blueocean-plugin / blueocean-personalization / src / main / js / model / FavoriteStore.js View on Github external
            .then(data => capabilityAugmenter.augmentCapabilities(data))
            .catch(error => {
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / bitbucket / api / BbCreationApi.js View on Github external
            .then(response => capabilityAugmenter.augmentCapabilities(response))
            .then(pipeline => this._findBranchesSuccess(pipeline), error => this._findBranchesFailure(error));
github jenkinsci / blueocean-plugin / blueocean-dashboard / src / main / js / creation / bitbucket / api / BbCreationApi.js View on Github external
            .then(orgs => capabilityAugmenter.augmentCapabilities(orgs))
            .then(orgs => this._listOrganizationsSuccess(orgs, credentialId, apiUrl, pagedOrgsStart), error => this._listOrganizationsFailure(error));