Skip to content

SwintDC/AzureDevOpsNotifyBuildStatusToBitbucket

Repository files navigation

1. Contents of extension

1.1. Tasks

1.1.1. Notify build status to Bitbucket

Click this link to go to the source of this task: link.
Invoke a Bitbucket REST API as a part of your pipeline to update the build status for the current git commit being built. This is a server-based (agentless) task and can therefore only be used in an agentless job.

2. How to use

  1. Create a generic service connection in the project settings of your Azure DevOps project. The server url should be your Bitbucket base url and could for example be https://bitbucket.yourorganization.com/. The task then adds the following path rest/build-status/1.0/commits/<commit-hash> to the configured url to perform the REST API call. Also enter a username and password for the service connection.
  2. Install the extension with name "Notify build status to Bitbucket" in your Azure DevOps organization. This extension can be found here: https://marketplace.visualstudio.com/items?itemName=SwintDC.notify-build-status-to-bitbucket.
  3. In your pipeline, inside a server-based (agentless) job, search the marketplace for the task with name "Notify build status to Bitbucket" and insert it in your pipeline.
  4. Fill in all parameters. In the parameter "Generic service connection", pick the previously created generic service connection.

3. How to contribute

  1. git clone this git repository
  2. execute the command npm install -g tfx-cli

    Note: The version of tfx-cli originally used to develop this extension was v0.8.3.

  3. execute the command npm ci in the root folder of this git repository
  4. make your changes
  5. execute the command npx tfx-cli extension create to create a .vsix file
  6. upload the .vsix file to the Azure DevOps Marketplace
  7. test the extension
  8. create a pull request for your changes

Icons were created with Paint.NET, the .pdn files are meant to be edited with Paint.NET.

4. Sources used when developing this extension

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published