From 3bbde5e81a6cf25f13dca55b278a30083c254968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Fri, 19 Nov 2021 10:32:01 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c63e0875c..08982a826 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,6 +50,7 @@ license_header: ## - echo "$SSH_KNOWN_HOSTS" - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts + - ssh-keyscan -H -p 2202 gitlab.iri.upc.edu >> $HOME/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - echo "$SSH_PUBLIC_KEY" @@ -70,7 +71,7 @@ license_header: - echo "$CI_COMMIT_REF_NAME" # push changes # always return true so that the build does not fail if there are no changes - - git push origin ci_processing:${CI_COMMIT_REF_NAME} || true + - git push origin ci_processing:${CI_COMMIT_REF_NAME} build_and_test:xenial: stage: build_and_test -- GitLab