From 36c3062405a703c3f1e0f444f924955e970a9e70 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Thu, 12 Oct 2023 21:53:44 +0200 Subject: [PATCH] Add _releasepy job Signed-off-by: Jose Luis Rivero --- jenkins-scripts/dsl/core.dsl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jenkins-scripts/dsl/core.dsl b/jenkins-scripts/dsl/core.dsl index 8c273c291..e6106298d 100644 --- a/jenkins-scripts/dsl/core.dsl +++ b/jenkins-scripts/dsl/core.dsl @@ -143,3 +143,13 @@ outdated_job_runner.with systemGroovyCommand(readFileFromWorkspace('scripts/jenkins-scripts/tools/outdated-job-runner.groovy')) } } + +// ------------------------------------------------------------------- +def releasepy_job = job("_releasepy") +OSRFReleasepy.create(releasepy_job) +releasepy_job.with { + blockOn("repository_uploader_packages") { + blockLevel('GLOBAL') + scanQueueFor('ALL') + } +}