mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
commit
bf61b6ebd0
@ -5,6 +5,8 @@ PRIVATE_KEY="cfg/id_rsa"
|
|||||||
chmod 600 "${PRIVATE_KEY}"
|
chmod 600 "${PRIVATE_KEY}"
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
ssh-add "${PRIVATE_KEY}"
|
ssh-add "${PRIVATE_KEY}"
|
||||||
|
mkdir ~/.ssh
|
||||||
|
chmod 700 ~/.ssh
|
||||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||||
git config user.name "Travis CI Publisher"
|
git config user.name "Travis CI Publisher"
|
||||||
git remote add docu "git@github.com:$TRAVIS_REPO_SLUG.git";
|
git remote add docu "git@github.com:$TRAVIS_REPO_SLUG.git";
|
||||||
|
Loading…
Reference in New Issue
Block a user