Compare commits
2 Commits
0ace925ec1
...
bfd826276d
| Author | SHA1 | Date | |
|---|---|---|---|
| bfd826276d | |||
| b2937d54c2 |
12
ci/Jenkinsfile
vendored
12
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,8 +57,16 @@ try {
|
|||||||
sh '. ci/sign.sh'
|
sh '. ci/sign.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
catchError(
|
||||||
|
catchInterruptions: false,
|
||||||
|
buildResult: null,
|
||||||
|
stageResult: 'NOT_BUILT',
|
||||||
|
) {
|
||||||
|
error('skip')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
archiveArtifacts '*.rpm'
|
archiveArtifacts '*.rpm'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user