Skip to content

Commit 2f8407e

Browse files
committed
libcouchbase: always stash SRPMs
1 parent 229fc21 commit 2f8407e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

libcouchbase/Jenkinsfile.erb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,7 @@ def package_srpm(name, bits, relno, arch, mock, VERSION) {
276276
sudo mock --buildsrpm -r ${mock} --spec libcouchbase.spec --sources ${pwd()} --old-chroot \
277277
--resultdir="libcouchbase-${VERSION.tar()}_${name}${relno}_srpm"
278278
""".stripIndent())
279-
if (name == 'centos' && relno == 7 && arch == 'x86_64') {
280-
stash(includes: "libcouchbase-${VERSION.tar()}_${name}${relno}_srpm/*.src.rpm", name: "${name}${relno}-srpm")
281-
}
279+
stash(includes: "libcouchbase-${VERSION.tar()}_${name}${relno}_srpm/*.src.rpm", name: "${name}${relno}-srpm")
282280
}
283281
}
284282

libcouchbase/lcb-lnx-scripted-build-pipeline.groovy

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ def package_srpm(name, bits, relno, arch, mock, VERSION) {
203203
sudo mock --buildsrpm -r ${mock} --spec libcouchbase.spec --sources ${pwd()} --old-chroot \
204204
--resultdir="libcouchbase-${VERSION.tar()}_${name}${relno}_srpm"
205205
""".stripIndent())
206-
if (name == 'centos' && relno == 7 && arch == 'x86_64') {
207-
stash(includes: "libcouchbase-${VERSION.tar()}_${name}${relno}_srpm/*.src.rpm", name: "${name}${relno}-srpm")
208-
}
206+
stash(includes: "libcouchbase-${VERSION.tar()}_${name}${relno}_srpm/*.src.rpm", name: "${name}${relno}-srpm")
209207
}
210208
}
211209

libcouchbase/lcb-scripted-build-pipeline.groovy

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ def package_srpm(name, bits, relno, arch, mock, VERSION) {
203203
sudo mock --buildsrpm -r ${mock} --spec libcouchbase.spec --sources ${pwd()} --old-chroot \
204204
--resultdir="libcouchbase-${VERSION.tar()}_${name}${relno}_srpm"
205205
""".stripIndent())
206-
if (name == 'centos' && relno == 7 && arch == 'x86_64') {
207-
stash(includes: "libcouchbase-${VERSION.tar()}_${name}${relno}_srpm/*.src.rpm", name: "${name}${relno}-srpm")
208-
}
206+
stash(includes: "libcouchbase-${VERSION.tar()}_${name}${relno}_srpm/*.src.rpm", name: "${name}${relno}-srpm")
209207
}
210208
}
211209

0 commit comments

Comments
 (0)