From 73f022ba7f7bfce6d434643b392adfefd2ba0640 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 3 Jan 2024 12:33:22 +0100 Subject: [PATCH] stop building nightly packages on koji --- .../release/foreman-x-develop-release.groovy | 46 ------------------- 1 file changed, 46 deletions(-) diff --git a/theforeman.org/pipelines/release/foreman-x-develop-release.groovy b/theforeman.org/pipelines/release/foreman-x-develop-release.groovy index cecf568b..d65a5350 100644 --- a/theforeman.org/pipelines/release/foreman-x-develop-release.groovy +++ b/theforeman.org/pipelines/release/foreman-x-develop-release.groovy @@ -20,52 +20,6 @@ pipeline { stages { stage('Build Package') { parallel { - stage('Build Koji RPM') { - agent { label 'rpmbuild' } - - when { - expression { build_rpm } - } - stages { - stage('Copy Source') { - steps { - script { - artifact_path = "${pwd()}/artifacts" - copyArtifacts(projectName: source_project_name, target: artifact_path) - commit_hash = readFile("${artifact_path}/commit") - } - } - } - stage('Setup Environment') { - steps { - dir('foreman-packaging') { - git(url: 'https://github.com/theforeman/foreman-packaging.git', branch: 'rpm/develop', poll: false) - } - setup_obal() - } - } - stage('Release') { - steps { - dir('foreman-packaging') { - obal( - action: 'nightly', - packages: rpm_source_package_name, - extraVars: [ - 'releasers': releasers, - 'nightly_sourcefiles': artifact_path, - 'nightly_githash': commit_hash - ] - ) - } - } - } - } - post { - cleanup { - deleteDir() - } - } - } stage('Build Copr RPM') { agent { label 'rpmbuild' }