# publishstatus-bitbucket

> Command line NodeJS tool - Publish Commit Status to Bitbucket Server (Atlassian Stash).

Latest version **0.6.2** (published 2020-06-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install publishstatus-bitbucket
pnpm add publishstatus-bitbucket
yarn add publishstatus-bitbucket
bun add publishstatus-bitbucket
```

Provides the command `publishstatus-bitbucket`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.2 |
| Published | 2020-06-04 |
| First published | 2019-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Denis Istomin |
| Maintainers | denis1stomin |
| Keywords | nodejs, cmd, shell, bitbucket, stash, git, commit, status |

## Links

- npm: https://www.npmjs.com/package/publishstatus-bitbucket
- Repository: https://github.com/denis1stomin/publishstatus-bitbucket
- Homepage: https://github.com/denis1stomin/publishstatus-bitbucket#readme
- Issues: https://github.com/denis1stomin/publishstatus-bitbucket/issues
- npm.io page: https://npm.io/package/publishstatus-bitbucket

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) ^1.2.2

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.6.2 (latest) — 2020-06-04
- 0.6.1 — 2019-04-25
- 0.6.0 — 2019-04-25

## README

# Publish build status to Bitbucket [![Known Vulnerabilities](https://snyk.io/test/github/denis1stomin/publishstatus-bitbucket/badge.svg?targetFile=package.json)](https://snyk.io/test/github/denis1stomin/publishstatus-bitbucket?targetFile=package.json)
Simple NodeJs command line application to publish commit status to Bitbucket (Atlassian Stash).

https://www.npmjs.com/package/publishstatus-bitbucket

## Install locally and run the command using npx command
- npm install publishstatus-bitbucket
- npx publishstatus-bitbucket

## Install globally and run the command
- npm install -g publishstatus-bitbucket
- publishstatus-bitbucket

## Run the command using the source code
- git clone https://github.com/denis1stomin/publishstatus-bitbucket
- cd publishstatus-bitbucket
- nodejs ./publishstatus-bitbucket.js `or` npm run publish

## Parameters description
To get a full list of parameters run `publishstatus-bitbucket -h`
Below you can find an example for linux command line environment.
This example can be used to publish build status in Azure Pipelines job.

BITBUCKET_SERVER=_your bitbucket server url origin_
BUILD_URI=_url which will be shown in bitbucket common status_
export BITBUCKET_USERNAME=_user name or service principal name_
export BITBUCKET_PASSWORD=_password_

publishstatus-bitbucket -b "$BITBUCKET_SERVER" -c "$(Build.SourceVersion)" -p "$(Build.DefinitionName)" -l "$BUILD_URI" -s "SUCCESSFUL" -n "Azure DevOps / $(Build.DefinitionName) #$(Build.BuildNumber)"

---
_Source: https://npm.io/package/publishstatus-bitbucket · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
