From 0c0577bd94a7f8b7ee11bf363522f100c4cde754 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Mon, 25 Nov 2024 21:12:04 +0100 Subject: [PATCH] Add osrfbuild permission to call -debbuilder and brew_release Signed-off-by: Jose Luis Rivero --- jenkins-scripts/dsl/_configs_/OSRFLinuxBuildPkg.groovy | 2 ++ jenkins-scripts/dsl/brew_release.dsl | 1 + 2 files changed, 3 insertions(+) diff --git a/jenkins-scripts/dsl/_configs_/OSRFLinuxBuildPkg.groovy b/jenkins-scripts/dsl/_configs_/OSRFLinuxBuildPkg.groovy index 97ad235a3..fa100e6d9 100644 --- a/jenkins-scripts/dsl/_configs_/OSRFLinuxBuildPkg.groovy +++ b/jenkins-scripts/dsl/_configs_/OSRFLinuxBuildPkg.groovy @@ -2,6 +2,7 @@ package _configs_ import javaposse.jobdsl.dsl.Job import _configs_.Globals +import _configs_.OSRFCredentials /* -> OSRFLinuxBuildPkgBase @@ -27,6 +28,7 @@ class OSRFLinuxBuildPkg static void create(Job job, Map default_params = [:]) { OSRFLinuxBuildPkgBase.create(job) + OSRFCredentials.allowOsrfbuildToRunTheBuild(job) job.with { diff --git a/jenkins-scripts/dsl/brew_release.dsl b/jenkins-scripts/dsl/brew_release.dsl index 3644b0c31..c467c6fe4 100644 --- a/jenkins-scripts/dsl/brew_release.dsl +++ b/jenkins-scripts/dsl/brew_release.dsl @@ -51,6 +51,7 @@ void include_common_params(Job job) // 1. BREW pull request SHA updater def release_job = job("generic-release-homebrew_pull_request_updater") OSRFUNIXBase.create(release_job) +OSRFCredentials.allowOsrfbuildToRunTheBuild(release_job) include_common_params(release_job) release_job.with