7. fix use ssh in ci script

This commit is contained in:
2019-02-12 16:50:45 +01:00
parent 8d7d9eed82
commit 552110f88e

View File

@ -1,5 +1,6 @@
stages:
- hello
- testssh
- build
before_script:
@ -10,7 +11,6 @@ before_script:
- chmod 700 ~/.ssh
- ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- ssh git@gitlab.com
- echo "Preparing ssh environment done"
job1:
@ -53,4 +53,12 @@ job3:
- make clean
- make all
job4:
stage: testssh
tags:
- hottis
- linux
- debian
script:
- ssh git@gitlab.com