diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-12-11 19:41:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-12-11 19:41:08 +0000 |
commit | 3cdc975756d9d7ea99bb8e700403356fbafa7741 (patch) | |
tree | f9537ffbd861e9736f9928fc6e6db7bb4c9f2cfe | |
parent | 0640f304627fe2972dbe8577d6ee8e3dbba19cbf (diff) | |
parent | ab639ab8917bd4afdca65c44617f44610a86c70a (diff) |
Merge "Add github to known hosts"
-rwxr-xr-x | jenkins-scripts/basic_settings.sh | 4 | ||||
-rw-r--r-- | jjb/daily-jjb-doc-multiversion-update/include-doc-multiversion-upload.sh | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/jenkins-scripts/basic_settings.sh b/jenkins-scripts/basic_settings.sh index 3aefc9e2..5e193398 100755 --- a/jenkins-scripts/basic_settings.sh +++ b/jenkins-scripts/basic_settings.sh @@ -51,6 +51,10 @@ Host vex-yul-agl-download.ci.codeaurora.org StrictHostKeyChecking no UserKnownHostsFile /dev/null +Host github.com + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + EOSSH cat <<EOKNOWN > /etc/ssh/ssh_known_hosts diff --git a/jjb/daily-jjb-doc-multiversion-update/include-doc-multiversion-upload.sh b/jjb/daily-jjb-doc-multiversion-update/include-doc-multiversion-upload.sh index 5c505d23..d9e20dd7 100644 --- a/jjb/daily-jjb-doc-multiversion-update/include-doc-multiversion-upload.sh +++ b/jjb/daily-jjb-doc-multiversion-update/include-doc-multiversion-upload.sh @@ -7,11 +7,13 @@ TMPDIR=${TMPDIR:-$WORKSPACE/upload-gh} # publish the docs +ssh-keyscan -H github.com >> ~/.ssh/known_hosts + mkdir -p $TMPDIR git clone -b gh-pages git@github.com:automotive-grade-linux/docs-gh-pages.git $TMPDIR/upload-gh-pages cp -ar $HTDOCS/* $TMPDIR/upload-gh-pages/ pushd $TMPDIR/upload-gh-pages - git config user.name build.automotivelinux.org + git config user.name build.automotivelinux.org git config user.email jenkins@automotivelinux.org git diff git add . |