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
did you found any solution?
Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.