@@ -35,13 +35,13 @@ properties([
3535 defaultValue: 'java-latest-openjdk',
3636 description: 'Package name(s) to watch (space-separated)'),
3737 string(name: 'KOJI_PACKAGE_TAG',
38- defaultValue: '',
38+ defaultValue: '(supp-|)rhel-9\.8\.[0-9]-(|z-)(nocompose-candidate|openjdk-els-candidate|candidate|gate) rhaos-.*-rhel-9-container-candidate epel9.* el9-openjdk openj9-1-rhel-9-candidate ',
3939 description: 'Glob for allowed tags (empty = all)'),
4040 string(name: 'KOJI_PACKAGE_ARCH',
4141 defaultValue: 'x86_64',
4242 description: 'Comma-separated architectures; leave empty for all'),
4343 string(name: 'KOJI_TAG',
44- defaultValue: '',
44+ defaultValue: '(supp-|)rhel-9\.8\.[0-9]-(|z-)(nocompose-candidate|openjdk-els-candidate|candidate|gate) rhaos-.*-rhel-9-container-candidate epel9.* el9-openjdk openj9-1-rhel-9-candidate ',
4545 description: 'Tag glob; leave empty to match all'),
4646 string(name: 'KOJI_SUBPACKAGE_DENYLIST',
4747 defaultValue: '.*debug.*,.*src.*',
@@ -193,21 +193,19 @@ timestamps {
193193 maxPreviousBuilds: params.KOJI_MAX_PREV_BUILDS as Integer
194194 ])
195195
196- withCredentials([usernamePassword(credentialsId: "intranetId", usernameVariable: 'intranetId_USR', passwordVariable: 'intranetId_PSW')]) {
197- // Debug: List downloaded files
198- sh """
199- echo "=== Downloaded Files Debug ==="
200- echo "Listing contents of ${params.KOJI_DOWNLOAD_DIR}:"
201- ls -laR ${params.KOJI_DOWNLOAD_DIR} || echo "Directory not found or empty"
202- echo "=============================="
203- """
204-
205- // Install RPMs from downloaded Koji build
206- sh """
207- echo "Installing RPMs from ${params.KOJI_DOWNLOAD_DIR}"
208- sudo dnf install -y ${params.KOJI_DOWNLOAD_DIR}/**/*.rpm
209- """
210- }
196+ // Debug: List downloaded files
197+ sh """
198+ echo "=== Downloaded Files Debug ==="
199+ echo "Listing contents of ${params.KOJI_DOWNLOAD_DIR}:"
200+ ls -laR ${params.KOJI_DOWNLOAD_DIR} || echo "Directory not found or empty"
201+ echo "=============================="
202+ """
203+
204+ // Install RPMs from downloaded Koji build
205+ sh """
206+ echo "Installing RPMs from ${params.KOJI_DOWNLOAD_DIR}"
207+ sudo dnf install -y ${params.KOJI_DOWNLOAD_DIR}/**/*.rpm
208+ """
211209 }
212210 }
213211
0 commit comments