Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I have a "docker: command not found" and "npm: command not found"

TTATPuOT November 27, 2019

I have this pipliens file:

image: node:10.15.3

pipelines:
default:
- step:
caches:
- node
script:
- npm install
- step:
deployment: production
script:
- pipe: atlassian/sftp-deploy:0.5.2
variables:
USER: $USER
SERVER: $HOST
REMOTE_PATH: $PATH
PASSWORD: $PASSWORD

(problem with editor, sorry for tab space, in original file spaces is ok)

and when i try to run pipeline, i have an error:

 

+ npm install
bash: npm: command not found

In other project this file works fine, but not in second repository.

 

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2020

Hello,

Is this problem still occurring? It's possible there may have been a temporary issue with the Docker image itself.

Thanks,

Philip

TTATPuOT January 6, 2020

Yes.

Can you see results of private piplines?

This one is failed with error "npm: command not found": https://bitbucket.org/neposedy-team/photo-smartsheets-planner/addon/pipelines/home#!/results/22

Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2020

No I don't have permission to see private pipelines.

Can you open a support ticket here with details of your issue. They'll have permission to view private pipelines: https://support.atlassian.com/contact

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events