Skip to content

Commit 64d7078

Browse files
authored
Add override image, ruby version and upgrade jenkins lib (#191)
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
1 parent 2922adf commit 64d7078

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jenkins/release.jenkinsFile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ lib = library(identifier: 'jenkins@1.5.4', retriever: modernSCM([
44
]))
55

66
standardReleasePipelineWithGenericTrigger(
7+
overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v2.1',
78
tokenIdCredential: 'jenkins-logstash-output-opensearch-generic-webhook-token',
89
causeString: 'A tag was cut on opensearch-project/logstash-output-opensearch repository causing this workflow to run',
910
downloadReleaseAsset: true,
1011
publishRelease: true) {
11-
publishToRubyGems(apiKeyCredentialId: 'jenkins-logstash-output-opensearch-api-key')
12+
publishToRubyGems(
13+
rubyVersion: 'jruby-9.3.0.0',
14+
apiKeyCredentialId: 'jenkins-logstash-output-opensearch-api-key'
15+
)
1216
}

0 commit comments

Comments
 (0)