diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c63e0875c6261f6e713bfa828f61bccd353b1c73..08982a8264a62309b7530ec2651c2bf32f5dec8e 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