diff --git a/jenkins/opensearch/distribution-build.jenkinsfile b/jenkins/opensearch/distribution-build.jenkinsfile index 27c84fc164..70035d3422 100644 --- a/jenkins/opensearch/distribution-build.jenkinsfile +++ b/jenkins/opensearch/distribution-build.jenkinsfile @@ -140,6 +140,36 @@ pipeline { } } } + stage('build-snapshot-macos-x64-tar') { + agent { + node { + label 'Jenkins-Agent-MacOS12-X64-Mac1Metal-Multi-Host' + } + } + tools { + jdk dockerAgent.javaVersion + } + steps { + script { + buildManifest( + componentName: "${COMPONENT_NAME}", + inputManifest: "manifests/${INPUT_MANIFEST}", + distribution: 'tar', + snapshot: true + ) + echo("Uploading darwin min snapshots to S3") + uploadMinSnapshotsToS3( + fileActions: [createSha512Checksums()], + distribution: 'tar' + ) + } + } + post { + always { + postCleanup() + } + } + } stage('build-macos-x64-tar') { agent { node { @@ -607,4 +637,4 @@ pipeline { } } } -} +} \ No newline at end of file