Skip to content

Commit

Permalink
HSEARCH-4274 Add GitHub SSH keys to SSH agent during Jenkinsfile release
Browse files Browse the repository at this point in the history
So that we can push to the repository.
  • Loading branch information
yrodiere committed Sep 9, 2021
1 parent 2a3dc2c commit 9da5b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ stage('Deploy') {
runBuildOnNode {
helper.withMavenWorkspace(mavenSettingsConfig: params.RELEASE_DRY_RUN ? null : helper.configuration.file.deployment.maven.settingsId) {
configFileProvider([configFile(fileId: 'release.config.ssh', targetLocation: env.HOME + '/.ssh/config')]) {
sshagent(['hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
sh 'cat $HOME/.ssh/config'
sh "git clone https://github.com/hibernate/hibernate-noorm-release-scripts.git"
sh "bash -xe hibernate-noorm-release-scripts/prepare-release.sh search ${releaseVersion.toString()}"
Expand Down

0 comments on commit 9da5b83

Please sign in to comment.