From 552110f88e0f1e45d9f21d5e9a191f656f521fda Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 12 Feb 2019 16:50:45 +0100 Subject: [PATCH] 7. fix use ssh in ci script --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88f16a1..66c451c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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