Hi,
I am also facing the same issue. I am trying to execute a script which will run remotely in a server using SSH-run pipe module at /home/centos/. The execute permission is available to the script. Can you please help in this regard?
---
image:
name: python:3.5.1
test: &test
step:
name: Connecting to CCM to run salt commands
script:
- docker run cmd.cat/envsubst envsubst
- envsubst < /home/centos/deploy.sh > deploy-out.sh
- pipe: atlassian/ssh-run:0.2.2
variables:
SSH_USER: '${STAGE_USER}'
SERVER: '${STAGE_SERVER}'
MODE: 'script'
COMMAND: 'deploy-out.sh'
pipelines:
branches:
develop:
- <<: *test
qa-*:
- <<: *test
Downloaded newer image for cmd.cat/envsubst:latest
envsubst < /home/centos/deploy.sh > deploy-out.sh
<1s+ envsubst < /home/centos/deploy.sh > deploy-out.sh
bash: /home/centos/deploy.sh: No such file or directory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.