diff options
-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 . |