fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good

This commit is contained in:
2025-11-23 13:54:46 -06:00
parent eac90680e7
commit 121472bc7c

8
ci/Jenkinsfile vendored
View File

@@ -20,7 +20,7 @@ properties([
try { try {
fedoraBuild(architectures: ['amd64']) { fedoraBuild(architectures: ['amd64']) {
stage('Prepare') { stage("Prepare f${fedoraVersion}/${arch}") {
checkout scm checkout scm
container('build') { container('build') {
@@ -28,7 +28,7 @@ try {
} }
} }
stage('Build') { stage("Build f${fedoraVersion}/${arch}") {
withCredentials([file( withCredentials([file(
credentialsId: 'kmod-signing-cert', credentialsId: 'kmod-signing-cert',
variable: 'SIGNING_KEY', variable: 'SIGNING_KEY',
@@ -39,7 +39,7 @@ try {
} }
} }
stage('Sign') { stage("Sign f${fedoraVersion}/${arch}") {
when(BRANCH_NAME == 'main') { when(BRANCH_NAME == 'main') {
withEnvironment([ withEnvironment([
"GNUPGHOME=${env.WORKSPACE_TMP}/gnupg", "GNUPGHOME=${env.WORKSPACE_TMP}/gnupg",
@@ -62,7 +62,7 @@ try {
archiveArtifacts '*.rpm' archiveArtifacts '*.rpm'
stage('Publish') { stage("Publish f${fedoraVersion}/${arch}") {
when(BRANCH_NAME == 'main') { when(BRANCH_NAME == 'main') {
container('build') { container('build') {
sshagent(['jenkins-repohost']) { sshagent(['jenkins-repohost']) {