fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
This commit is contained in:
10
ci/Jenkinsfile
vendored
10
ci/Jenkinsfile
vendored
@@ -27,7 +27,7 @@ try {
|
|||||||
stage("Prepare f${fedoraVersion}/${arch}") {
|
stage("Prepare f${fedoraVersion}/${arch}") {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
container('build') {
|
container('fedora') {
|
||||||
sh '. ci/prepare.sh'
|
sh '. ci/prepare.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@ try {
|
|||||||
credentialsId: 'kmod-signing-cert',
|
credentialsId: 'kmod-signing-cert',
|
||||||
variable: 'SIGNING_KEY',
|
variable: 'SIGNING_KEY',
|
||||||
)]) {
|
)]) {
|
||||||
container('build') {
|
container('fedora') {
|
||||||
sh '. ci/build.sh'
|
sh '. ci/build.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -58,7 +58,9 @@ try {
|
|||||||
variable: 'RPM_GPG_KEY_PASSPHRASE',
|
variable: 'RPM_GPG_KEY_PASSPHRASE',
|
||||||
),
|
),
|
||||||
]) {
|
]) {
|
||||||
sh '. ci/sign.sh'
|
container('fedora') {
|
||||||
|
sh '. ci/sign.sh'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -68,7 +70,7 @@ try {
|
|||||||
|
|
||||||
stage("Publish f${fedoraVersion}/${arch}") {
|
stage("Publish f${fedoraVersion}/${arch}") {
|
||||||
when(BRANCH_NAME == 'main') {
|
when(BRANCH_NAME == 'main') {
|
||||||
container('build') {
|
container('fedora') {
|
||||||
sshagent(['jenkins-repohost']) {
|
sshagent(['jenkins-repohost']) {
|
||||||
sh '. ci/publish.sh'
|
sh '. ci/publish.sh'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user