Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update uploadIndexFile lib env vars with credentials #2247

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

gaiksaya
Copy link
Member

Signed-off-by: Sayali Gaikawad [email protected]

Description

Update uploadIndexFile lib env vars with credentials

Confirming that the credentials used are already present in current jenkins env

Issues Resolved

Part of #2220

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@gaiksaya gaiksaya requested a review from a team as a code owner June 23, 2022 22:41
@@ -2,11 +2,13 @@ void call(Map args = [:]) {
def latestBuildData = ['latest': "${BUILD_NUMBER}"]
writeJSON file: 'index.json', json: latestBuildData

echo "Uploading index.json to s3://${ARTIFACT_PRODUCTION_BUCKET_NAME}/${args.indexFilePath}"
withCredentials([string(credentialsId: 'jenkins-artifact-bucket-name', variable: 'ARTIFACT_BUCKET_NAME')]) {
echo "Uploading index.json to s3://${ARTIFACT_BUCKET_NAME}/${args.indexFilePath}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tianleh can you review this. It looked like a bug in echo statement before so I changed it.
Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update.

@gaiksaya gaiksaya requested a review from tianleh June 23, 2022 22:42
@gaiksaya gaiksaya merged commit a3626e6 into opensearch-project:main Jun 24, 2022
@gaiksaya gaiksaya deleted the indexlib branch June 24, 2022 00:26
@gaiksaya gaiksaya self-assigned this Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants