Skip to content

Commit 79571c6

Browse files
committed
libcouchbase: display reprepro version
1 parent 3a65800 commit 79571c6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

libcouchbase/Jenkinsfile.repo.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ key_url = "https://sdk-snapshots.couchbase.com/libcouchbase/couchbase.key"
8787
steps {
8888
cleanWs()
8989
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*<%= distro %>*.tar')
90-
sh('mkdir -p <%= repo_dir %>/conf')
90+
sh('which reprepro; reprepro --version; mkdir -p <%= repo_dir %>/conf')
9191
writeFile(file: "<%= repo_dir %>/conf/distributions", text: """
9292
Origin: couchbase
9393
SignWith: ${GPG_NAME}

libcouchbase/lcb-repo-pipeline.groovy

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ gpgkey = https://sdk-snapshots.couchbase.com/libcouchbase/couchbase.key
229229
steps {
230230
cleanWs()
231231
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*jammy*.tar')
232-
sh('mkdir -p repo/ubuntu2204/conf')
232+
sh('which reprepro; reprepro --version; mkdir -p repo/ubuntu2204/conf')
233233
writeFile(file: "repo/ubuntu2204/conf/distributions", text: """
234234
Origin: couchbase
235235
SignWith: ${GPG_NAME}
@@ -266,7 +266,7 @@ deb https://sdk-snapshots.couchbase.com/libcouchbase/ubuntu2204 jammy jammy/main
266266
steps {
267267
cleanWs()
268268
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*bullseye*.tar')
269-
sh('mkdir -p repo/debian11/conf')
269+
sh('which reprepro; reprepro --version; mkdir -p repo/debian11/conf')
270270
writeFile(file: "repo/debian11/conf/distributions", text: """
271271
Origin: couchbase
272272
SignWith: ${GPG_NAME}
@@ -303,7 +303,7 @@ deb https://sdk-snapshots.couchbase.com/libcouchbase/debian11 bullseye bullseye/
303303
steps {
304304
cleanWs()
305305
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*focal*.tar')
306-
sh('mkdir -p repo/ubuntu2004/conf')
306+
sh('which reprepro; reprepro --version; mkdir -p repo/ubuntu2004/conf')
307307
writeFile(file: "repo/ubuntu2004/conf/distributions", text: """
308308
Origin: couchbase
309309
SignWith: ${GPG_NAME}
@@ -340,7 +340,7 @@ deb https://sdk-snapshots.couchbase.com/libcouchbase/ubuntu2004 focal focal/main
340340
steps {
341341
cleanWs()
342342
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*buster*.tar')
343-
sh('mkdir -p repo/debian10/conf')
343+
sh('which reprepro; reprepro --version; mkdir -p repo/debian10/conf')
344344
writeFile(file: "repo/debian10/conf/distributions", text: """
345345
Origin: couchbase
346346
SignWith: ${GPG_NAME}
@@ -377,7 +377,7 @@ deb https://sdk-snapshots.couchbase.com/libcouchbase/debian10 buster buster/main
377377
steps {
378378
cleanWs()
379379
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*bionic*.tar')
380-
sh('mkdir -p repo/ubuntu1804/conf')
380+
sh('which reprepro; reprepro --version; mkdir -p repo/ubuntu1804/conf')
381381
writeFile(file: "repo/ubuntu1804/conf/distributions", text: """
382382
Origin: couchbase
383383
SignWith: ${GPG_NAME}
@@ -414,7 +414,7 @@ deb https://sdk-snapshots.couchbase.com/libcouchbase/ubuntu1804 bionic bionic/ma
414414
steps {
415415
cleanWs()
416416
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*stretch*.tar')
417-
sh('mkdir -p repo/debian9/conf')
417+
sh('which reprepro; reprepro --version; mkdir -p repo/debian9/conf')
418418
writeFile(file: "repo/debian9/conf/distributions", text: """
419419
Origin: couchbase
420420
SignWith: ${GPG_NAME}
@@ -451,7 +451,7 @@ deb https://sdk-snapshots.couchbase.com/libcouchbase/debian9 stretch stretch/mai
451451
steps {
452452
cleanWs()
453453
copyArtifacts(projectName: 'lcb-lnx-scripted-build-pipeline', selector: UPSTREAM_BUILD.isEmpty() ? upstream() : specific(UPSTREAM_BUILD), filter: 'libcouchbase-*xenial*.tar')
454-
sh('mkdir -p repo/ubuntu1604/conf')
454+
sh('which reprepro; reprepro --version; mkdir -p repo/ubuntu1604/conf')
455455
writeFile(file: "repo/ubuntu1604/conf/distributions", text: """
456456
Origin: couchbase
457457
SignWith: ${GPG_NAME}

0 commit comments

Comments
 (0)