Skip to content

Commit 44b9890

Browse files
committed
libcouchbase fix package name for vc17
1 parent f0feded commit 44b9890

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libcouchbase/Jenkinsfile.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ del "%CMAKE_ZIP_FILE%"
541541
dir("ws_win_${MSVS.replaceAll(' ', '_')}_${ARCH}/build") {
542542
bat('cmake --build . --target package')
543543
script {
544+
bat("if exist ${VERSION.tarName()}__${ARCH == 'x64' ? 'amd64' : 'x86'}.zip move ${VERSION.tarName()}__${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ${VERSION.tarName()}_vc17_${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ")
544545
if (TLS.toBoolean()) {
545546
bat("move ${VERSION.tarName()}_vc${MSVS.split(' ')[0]}_${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ${VERSION.tarName()}_vc${MSVS.split(' ')[0]}_${ARCH == 'x64' ? 'amd64' : 'x86'}_openssl3.zip")
546547
}

libcouchbase/lcb-scripted-build-pipeline.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ del "%CMAKE_ZIP_FILE%"
440440
dir("ws_win_${MSVS.replaceAll(' ', '_')}_${ARCH}/build") {
441441
bat('cmake --build . --target package')
442442
script {
443+
bat("if exist ${VERSION.tarName()}__${ARCH == 'x64' ? 'amd64' : 'x86'}.zip move ${VERSION.tarName()}__${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ${VERSION.tarName()}_vc17_${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ")
443444
if (TLS.toBoolean()) {
444445
bat("move ${VERSION.tarName()}_vc${MSVS.split(' ')[0]}_${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ${VERSION.tarName()}_vc${MSVS.split(' ')[0]}_${ARCH == 'x64' ? 'amd64' : 'x86'}_openssl3.zip")
445446
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ del "%CMAKE_ZIP_FILE%"
310310
dir("ws_win_${MSVS.replaceAll(' ', '_')}_${ARCH}/build") {
311311
bat('cmake --build . --target package')
312312
script {
313+
bat("if exist ${VERSION.tarName()}__${ARCH == 'x64' ? 'amd64' : 'x86'}.zip move ${VERSION.tarName()}__${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ${VERSION.tarName()}_vc17_${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ")
313314
if (TLS.toBoolean()) {
314315
bat("move ${VERSION.tarName()}_vc${MSVS.split(' ')[0]}_${ARCH == 'x64' ? 'amd64' : 'x86'}.zip ${VERSION.tarName()}_vc${MSVS.split(' ')[0]}_${ARCH == 'x64' ? 'amd64' : 'x86'}_openssl3.zip")
315316
}

0 commit comments

Comments
 (0)