generator-bitbucket-pipe

0.11.0 • Public • Published

generator-bitbucket-pipe NPM version

This generator generates the scaffolding needed to create a pipe in Bitbucket Pipelines. It allows to create skeleton for your first pipe in Python or Bash script language.

In generators/app path you will find Javascript code that generates files locally according to the given generators/app/templates. Every variable that can be identified as <%= variable %> is defined in YAML files called demo-pipe-$PIPE_LANGUAGE-config.yml (example: demo-pipe-bash-config.yml, demo-pipe-python-config.yml). Feel free to modify those files according to your needs.

Installation

First, install Yeoman and generator-bitbucket-pipe using npm (we assume you have pre-installed node.js).

npm install -g yo generator-bitbucket-pipe

The generator scaffolds a project ready for development. Run the generator and fill out the fields:

yo bitbucket-pipe

Committing to

After installation this, you will need to commit created structure to the repository that is created beforehand.

git clone git@bitbucket.org:<workspace>/<pipe-created-repository>.git pipe-created-repository cd pipe-created-repository git checkout -b feature/your-new-pipe-feature git add . git commit -m "Initial Release" git push

NOTE: to have proper version bump process we recommend to follow our Contributing guide.

License

Copyright (c) 2020 Atlassian and others. Apache 2.0 licensed, see LICENSE file.

Package Sidebar

Install

npm i generator-bitbucket-pipe

Weekly Downloads

56

Version

0.11.0

License

Apache-2.0

Unpacked Size

33.8 kB

Total Files

36

Last publish

Collaborators

  • rgomis