npm Deploy Task
A summary of what the task does, with optional links to external documentation e.g SaaS providers, tools the task uses etc.
Pre-requisites
Optional section detailing any pre-requisites that must be in place before the task can be executed. Examples include:
- Required configuration for a Cloud Provided (AWS, Google Cloud, Azure etc)
- Assumed knowledge
- Warningss
Usage
Add the following snippet to the script section of your bitbucket-pipelines.yml
file:
- task: atlassian/hello-world:1.0.0
environment:
NAME: <string>
#GREETING: <string> # Optional
Parameters
Environment | Usage |
---|---|
NAME (*) | The name that will be printed in the logs |
GREETING | The optional alternative greeting. |
(*) = required parameter.
Examples
Basic example:
script:
- task: atlassian/hello-world:1.0.0
environment:
NAME: "foobar"
Advanced example:
script:
- task: atlassian/hello-world:1.0.0
environment:
NAME: foobar"
GREETING: "Good morning"
Bugs
Issues, bugs and feature requests can be reported via the Bitbucket Cloud public issue tracker.
When reporting bugs or issues, please provide:
- The version of the task
- Relevant logs and error messages
- Steps to reproduce
License
Copyright (c) 2018 Atlassian and others. Apache 2.0 licensed, see LICENSE.txt file.