Skip to content

Commit

Permalink
Add jenkins prefix to the credentials (#2341)
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Jul 15, 2022
1 parent ee68777 commit d395d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/opensearch-ruby/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pipeline {
error('RELEASE_BRANCH parameter is not set')
}
git url: 'https://github.com/opensearch-project/opensearch-ruby.git', branch: "$RELEASE_BRANCH"
withCredentials([string(credentialsId: 'opensearchproject-rubygems-private-key', variable: 'RUBYGEMS_PRIVATE_KEY')]) {
withCredentials([string(credentialsId: 'jenkins-opensearchproject-rubygems-private-key', variable: 'RUBYGEMS_PRIVATE_KEY')]) {
writeFile file: 'gem-private_key.pem', text: RUBYGEMS_PRIVATE_KEY
}
sh'''
Expand Down

0 comments on commit d395d5f

Please sign in to comment.