Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Drone plugin for deploying build artifacts to Bitbucket Downloads

License

Notifications You must be signed in to change notification settings

AlbinoDrought/drone-bitbucket-artifacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-bitbucket-artifacts

drone-bitbucket-artifacts on Docker Hub Docker Pulls

This is a Bash Drone plugin to deploy build artifacts to Bitbucket.

For more information on how to use the plugin, please take a look at the docs.

Docker

Build the docker image by running:

docker build --rm=true -t albinodrought/drone-bitbucket-artifacts .

Usage

To publish artifacts, execute the following from the working directory:

docker run --rm \
  -e PLUGIN_AUTH_STRING="username:app-password" \
  -e PLUGIN_REPO_OWNER="albinodrought" \
  -e PLUGIN_REPO_SLUG="hello-world" \
  -e PLUGIN_FILE="foo.txt" \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  albinodrought/drone-bitbucket-artifacts

To publish and link artifacts, execute the following form the working directory:

docker run --rm \
  -e PLUGIN_AUTH_STRING="username:app-password" \
  -e PLUGIN_REPO_OWNER="albinodrought" \
  -e PLUGIN_REPO_SLUG="hello-world" \
  -e PLUGIN_FILE="foo.txt" \
  -e PLUGIN_LINK="true" \
  -e DRONE_COMMIT_SHA="6107f58e83a7c7db89e8e63762d668eb095cdd9f" \
  -e PLUGIN_ARTIFACT_KEY="drone-bitbucket-artifacts" \
  -e PLUGIN_ARTIFACT_NAME="Artifact" \
  -e PLUGIN_ARTIFACT_DESCRIPTION="cool build artifact" \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  albinodrought/drone-bitbucket-artifacts

Inspiration

drillster/drone-rsync

About

Drone plugin for deploying build artifacts to Bitbucket Downloads

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages