Deployment variables

Asim AlTwaijri May 30, 2019

Hello,

 

i'm trying to use deployment variables as follows:

 image: node:8.12.0 

definitions:
steps:
- step: &build-stg-angular
caches:
- node
script: # Modify the commands below to build your repository.
- credentials="${server_username}@${server_ip}"
- npm install
- npm run build-stg -- -c ${client}



pipelines:
custom:
asim-stg:
- step: *build-stg-angular
- step:
name: Deploy to staging server.
deployment: asim-stg
script:
- echo "Deploying"

 

but it doesn't recognise the variables!

 

1 answer

1 accepted

0 votes
Answer accepted
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2019

I think you want to address Bitbucket Pipelines community, not Bamboo

Asim AlTwaijri May 30, 2019

Oh- sorry

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events