Commit 968553cb authored by Sintal's avatar Sintal
Browse files

Update .gitlab-ci.yml

parent 2ba6bfb4
Pipeline #3729 passed with stage
in 36 seconds
......@@ -11,7 +11,7 @@ before_script:
Test SSH:
script:
#- scp testscript.sh $USER_NAME:~/testscript/testscript.sh
#- scp helloworld.c $USER_NAME:~/testscript/helloworld.c
#- ssh $USER_NAME "cd ~/testscript && chmod 700 testscript.sh && ./testscript.sh"
- ssh -o 'StrictHostKeyChecking no' $USER_NAME "mkdir -p testscript && scp testscript.sh $USER_NAME:~/testscript/testscript.sh && cd testscript && ls -al"
- ssh $USER_NAME "mkdir -p testscript"
- scp testscript.sh $USER_NAME:~/testscript/testscript.sh
- scp helloworld.c $USER_NAME:~/testscript/helloworld.c
- ssh $USER_NAME "cd ~/testscript && chmod 700 testscript.sh && ./testscript.sh"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment