/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ pipeline { agent none stages { stage('sign') { steps { script { signArtifacts( artifactPath: "${WORKSPACE}/artifacts", sigtype: '.sig', platform: 'linux' ) signArtifacts( artifactPath: "${WORKSPACE}/artifacts", sigtype: '.rpm', platform: 'linux', overwrite: false ) signArtifacts( artifactPath: "${WORKSPACE}/file.yml", platform: 'linux', type: 'maven', ) signArtifacts( artifactPath: "${WORKSPACE}/the_msi.msi", platform: 'windows', overwrite: true ) signArtifacts( artifactPath: "${WORKSPACE}/the_pkg.pkg", platform: 'mac', overwrite: true ) } } } } }