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
@@ -40,7 +40,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Sign') {
|
stage('Sign') {
|
||||||
when(BRANCH_NAME == 'main') {
|
if (BRANCH_NAME == 'main') {
|
||||||
withEnvironment([
|
withEnvironment([
|
||||||
"GNUPGHOME=${env.WORKSPACE_TMP}/gnupg",
|
"GNUPGHOME=${env.WORKSPACE_TMP}/gnupg",
|
||||||
]) {
|
]) {
|
||||||
@@ -57,6 +57,14 @@ try {
|
|||||||
sh '. ci/sign.sh'
|
sh '. ci/sign.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
catchError(
|
||||||
|
catchInterruptions: false,
|
||||||
|
buildResult: null,
|
||||||
|
stageResult: 'NOT_BUILT',
|
||||||
|
) {
|
||||||
|
error('skip')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user