Skip to content

Commit

Permalink
Update folder structure for release notes
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
  • Loading branch information
gaiksaya committed Sep 13, 2024
1 parent c5fbe42 commit 7e9c730
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jenkins/release-workflows/release-notes-check.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pipeline {
sh """
#!/bin/bash
set +e
./release_notes.sh compile manifests/${RELEASE_VERSION}/opensearch-${RELEASE_VERSION}.yml manifests/${RELEASE_VERSION}/opensearch-dashboards-${RELEASE_VERSION}.yml --output opensearch-release-notes-${RELEASE_VERSION}.md
./release_notes.sh compile manifests/${RELEASE_VERSION}/opensearch-${RELEASE_VERSION}.yml manifests/${RELEASE_VERSION}/opensearch-dashboards-${RELEASE_VERSION}.yml --output release-notes/opensearch-release-notes-${RELEASE_VERSION}.md
"""
withCredentials([usernamePassword(credentialsId: 'jenkins-github-bot-token', passwordVariable: 'GITHUB_TOKEN', usernameVariable: 'GITHUB_USER')]) {
try {
Expand Down
2 changes: 1 addition & 1 deletion tests/jenkins/TestReleaseNotesCheckAndCompile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class TestReleaseNotesCheckAndCompile extends BuildPipelineTest {
assertThat(helper.callStack.findAll { call ->
call.methodName == 'sh'
}.any { call ->
callArgsToString(call).contains('./release_notes.sh compile manifests/3.0.0/opensearch-3.0.0.yml manifests/3.0.0/opensearch-dashboards-3.0.0.yml --output opensearch-release-notes-3.0.0.md')
callArgsToString(call).contains('./release_notes.sh compile manifests/3.0.0/opensearch-3.0.0.yml manifests/3.0.0/opensearch-dashboards-3.0.0.yml --output release-notes/opensearch-release-notes-3.0.0.md')
}).isTrue()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
release-notes-check.sh(
#!/bin/bash
set +e
./release_notes.sh compile manifests/3.0.0/opensearch-3.0.0.yml manifests/3.0.0/opensearch-dashboards-3.0.0.yml --output opensearch-release-notes-3.0.0.md
./release_notes.sh compile manifests/3.0.0/opensearch-3.0.0.yml manifests/3.0.0/opensearch-dashboards-3.0.0.yml --output release-notes/opensearch-release-notes-3.0.0.md
)
release-notes-check.usernamePassword({credentialsId=jenkins-github-bot-token, passwordVariable=GITHUB_TOKEN, usernameVariable=GITHUB_USER})
release-notes-check.withCredentials([[GITHUB_USER, GITHUB_TOKEN]], groovy.lang.Closure)
Expand Down

0 comments on commit 7e9c730

Please sign in to comment.