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: ...@@ -11,7 +11,7 @@ before_script:
Test SSH: Test SSH:
script: script:
#- scp testscript.sh $USER_NAME:~/testscript/testscript.sh - ssh $USER_NAME "mkdir -p testscript"
#- scp helloworld.c $USER_NAME:~/testscript/helloworld.c - scp testscript.sh $USER_NAME:~/testscript/testscript.sh
#- ssh $USER_NAME "cd ~/testscript && chmod 700 testscript.sh && ./testscript.sh" - scp helloworld.c $USER_NAME:~/testscript/helloworld.c
- ssh -o 'StrictHostKeyChecking no' $USER_NAME "mkdir -p testscript && scp testscript.sh $USER_NAME:~/testscript/testscript.sh && cd testscript && ls -al" - 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