Files
opensearch-pyd/jenkins/release.JenkinsFile
T
2023-07-26 19:39:52 -07:00

14 lines
633 B
Plaintext

lib = library(identifier: 'jenkins@1.3.1', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))
standardReleasePipelineWithGenericTrigger(
overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v4',
tokenIdCredential: 'jenkins-opensearch-py-generic-webhook-token',
causeString: 'A tag was cut on opensearch-project/opensearch-py repository causing this workflow to run',
downloadReleaseAsset: true,
publishRelease: true) {
publishToPyPi(credentialId: 'jenkins-opensearch-py-pypi-credentials')
}