From ce9fccaa4edb56d90d9e8ea5f8f96121080bbafa Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Thu, 2 Mar 2023 23:04:15 -0800 Subject: [PATCH] Fix approvers Signed-off-by: Sayali Gaikawad --- .github/workflows/release-drafter.yml | 2 +- jenkins/release.jenkinsFile | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 0c28946c2e..b61fa978dd 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -24,7 +24,7 @@ jobs: approvers: ${{ steps.get_approvers.outputs.approvers }} minimum-approvals: 1 issue-title: 'Release opensearch-net' - issue-body: "Please approve or deny the release of opensearch-net **TAG**: ${{ github.ref_name }} **COMMIT**: ${{ github.sha }}" + issue-body: "Please approve or deny the release of opensearch-net \n **TAG**: ${{ github.ref_name }} \n **COMMIT**: ${{ github.sha }}" # exclude-workflow-initiator-as-approver: true - name: Release uses: softprops/action-gh-release@v1 diff --git a/jenkins/release.jenkinsFile b/jenkins/release.jenkinsFile index 6261bfecf5..f443e2fbe9 100644 --- a/jenkins/release.jenkinsFile +++ b/jenkins/release.jenkinsFile @@ -1,17 +1,17 @@ -lib = library(identifier: 'jenkins@test-net', retriever: modernSCM([ +lib = library(identifier: 'jenkins@2.0.2', retriever: modernSCM([ $class: 'GitSCMSource', - remote: 'https://github.com/gaiksaya/opensearch-build-libraries.git', + remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) standardReleasePipelineWithGenericTrigger( + overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v2', tokenIdCredential: 'jenkins-opensearch-net-generic-webhook-token', causeString: 'A tag was cut on opensearch-project/opensearch-net repository causing this workflow to run', - overrideDockerImage: 'sayaligaikawad/clients:latest', publishRelease: true) { publishToNuget( repository: 'https://github.com/opensearch-project/opensearch-net', tag: "$tag", solutionFilePath: 'OpenSearch.sln', - apiKeyCredentialId: 'jenkins-opensearch-net-generic-webhook-token' + apiKeyCredentialId: 'jenkins-opensearch-net-api-key' ) }