Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _releasepy job to be a wrapper of releasepy calls in Jenkins #1035

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion jenkins-scripts/dsl/_configs_/OSRFReleasepy.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class OSRFReleasepy
stringParam("EXTRA_OSRF_REPO",
default_params.find{ it.key == "OSRF_REPOS_TO_USE"}?.value,
"OSRF repos name to use when building the package")

booleanParam('DRY_RUN',
default_params.find{ it.key == "DRY_RUN"}?.value,
'run a testing run with no effects')
Expand Down
10 changes: 10 additions & 0 deletions jenkins-scripts/dsl/core.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -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, [DRY_RUN: false])
releasepy_job.with {
blockOn("repository_uploader_packages") {
blockLevel('GLOBAL')
scanQueueFor('ALL')
}
}