README
generator-bitbucket-pipe
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
Commiting 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
Apache-2.0 © Raul Gomis