Skip to content

Commit

Permalink
HV-1860 Add GitHub SSH keys to SSH agent during Jenkinsfile release
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere authored and gsmet committed Dec 13, 2021
1 parent b41f73e commit 3e1b5fd
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 @@ -368,7 +368,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 validator ${releaseVersion.toString()}"
Expand Down

0 comments on commit 3e1b5fd

Please sign in to comment.