Skip to content

Commit

Permalink
Move artifact bucket name from env to creds
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Jul 11, 2022
1 parent 5032521 commit d1c8ac8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pipeline {
}
environment {
ARTIFACT_PATH = "distribution-build-opensearch/${VERSION}/${BUILD_ID}/linux/x64/tar/builds"
ARTIFACT_BUCKET_NAME = credentials('jenkins-artifact-bucket-name')
}
stages {
stage('sign') {
Expand Down
3 changes: 3 additions & 0 deletions jenkins/opensearch-ruby/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ pipeline {
trim: true
)
}
environment {
ARTIFACT_BUCKET_NAME = credentials('jenkins-artifact-bucket-name')
}
stages {
stage('ruby-build-sign-upload') {
agent {
Expand Down
3 changes: 3 additions & 0 deletions jenkins/sign-artifacts/sign-standalone-artifacts.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ pipeline {
description: 'What is signature file type? Required only for linux signing.'
)
}
environment {
ARTIFACT_BUCKET_NAME = credentials('jenkins-artifact-bucket-name')
}
stages {
stage('sign') {
steps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
maven-sign-release.legacySCM(groovy.lang.Closure)
maven-sign-release.library({identifier=jenkins@20211123, retriever=null})
maven-sign-release.pipeline(groovy.lang.Closure)
maven-sign-release.credentials(jenkins-artifact-bucket-name)
maven-sign-release.echo(Executing on agent [docker:[image:opensearchstaging/ci-runner:centos7-x64-arm64-jdkmulti-node10.24.1-cypress6.9.1-20211130, reuseNode:false, stages:[:], args:, alwaysPull:true, containerPerStageRoot:false, label:Jenkins-Agent-al2-x64-c54xlarge-Docker-Host]])
maven-sign-release.stage(sign, groovy.lang.Closure)
maven-sign-release.script(groovy.lang.Closure)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
sign-standalone-artifacts.legacySCM(groovy.lang.Closure)
sign-standalone-artifacts.library({identifier=jenkins@20211123, retriever=null})
sign-standalone-artifacts.pipeline(groovy.lang.Closure)
sign-standalone-artifacts.credentials(jenkins-artifact-bucket-name)
sign-standalone-artifacts.echo(Executing on agent [docker:[image:opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-build-v2, reuseNode:false, stages:[:], args:, alwaysPull:true, containerPerStageRoot:false, label:Jenkins-Agent-al2-x64-c54xlarge-Docker-Host]])
sign-standalone-artifacts.stage(sign, groovy.lang.Closure)
sign-standalone-artifacts.script(groovy.lang.Closure)
Expand Down

0 comments on commit d1c8ac8

Please sign in to comment.