Skip to content

Commit

Permalink
ci: ssh keys added manually
Browse files Browse the repository at this point in the history
  • Loading branch information
evandbrown committed Feb 22, 2019
1 parent 6188a74 commit f113590
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/pipeline.yml
Expand Up @@ -47,6 +47,7 @@ jobs:
project_id: ((project_id))
artifactory_username: ((artifactory_username))
artifactory_password: ((artifactory_password))
git_private_key: ((git_private_key))
- put: version
params: {file: version/version}
- put: plugin-release
Expand All @@ -67,6 +68,7 @@ jobs:
project_id: ((project_id))
artifactory_username: ((artifactory_username))
artifactory_password: ((artifactory_password))
git_private_key: ((git_private_key))
- put: version
params: {file: version/version}
- put: plugin-release
Expand All @@ -86,6 +88,7 @@ jobs:
project_id: ((project_id))
artifactory_username: ((artifactory_username))
artifactory_password: ((artifactory_password))
git_private_key: ((git_private_key))
- put: version
params: {file: version/version}
- put: plugin-release
Expand Down
4 changes: 4 additions & 0 deletions ci/tasks/release.sh
Expand Up @@ -10,8 +10,12 @@ mkdir -p $HOME/.ssh
cat >$HOME/.ssh/config <<EOL
Host github.com
StrictHostKeyChecking no
IdentityFile ~/.ssh/key
EOL

echo "$git_private_key" >$HOME/.ssh/key
chmod 0400 $HOME/.ssh/key

# Write a Maven config file that allows uploading the build artifact
# to the Jenkins repository.
cat >maven-settings.xml <<EOL
Expand Down
1 change: 1 addition & 0 deletions ci/tasks/release.yml
Expand Up @@ -20,3 +20,4 @@ params:
project_id: change-me
artifactory_username: change-me
artifactory_password: change-me
git_private_key: change-me

0 comments on commit f113590

Please sign in to comment.