@@ -4,6 +4,7 @@ pipeline {
44 choice(name : ' CBL_EDITION' , choices : [' enterprise' , ' community' ], description : ' Couchbase Lite Edition' )
55 string(name : ' CBL_VERSION' , defaultValue : ' 3.2.0' , description : ' Couchbase Lite Version' )
66 string(name : ' CBL_BUILD' , defaultValue : ' ' , description : ' Couchbase Lite Build Number' )
7+ string(name : ' CBL_DATASET_VERSION' , defaultValue : ' 3.2' , description : ' The version of the Couchbase Lite datasets to use' )
78 string(name : ' SGW_URL' , defaultValue : ' ' , description : " The url of Sync Gateway to download" )
89 }
910 options {
@@ -16,8 +17,10 @@ pipeline {
1617 script {
1718 if (params. CBL_VERSION == ' ' ) { error " CBL_VERSION is required" }
1819 if (params. CBL_BUILD == ' ' ) { error " CBL_BUILD is required" }
20+ if (params. CBL_DATASET_VERSION == ' ' ) { error " CBL_DATASET_VERSION is required" }
1921 if (params. SGW_URL == ' ' ) { error " SGW_URL is required" }
2022 currentBuild. displayName = " ${ params.CBL_VERSION} -${ params.CBL_BUILD} -${ CBL_EDITION} "
23+ currentBuild. description = " Dataset: ${ params.CBL_DATASET_VERSION} "
2124 }
2225 }
2326 }
@@ -30,7 +33,7 @@ pipeline {
3033 timeout(time : 60 , unit : ' MINUTES' )
3134 }
3235 steps {
33- pwsh " jenkins\\ pipelines\\ dotnet\\ test_winui.ps1 -Edition ${ params.CBL_EDITION } -Version ${ params.CBL_VERSION } -Build ${ params.CBL_BUILD } -SgwUrl ${ params.SGW_URL} "
36+ pwsh " jenkins\\ pipelines\\ dotnet\\ test_winui.ps1 -Version ${ params.CBL_VERSION } -Build ${ params.CBL_BUILD } -Dataset ${ params.CBL_DATASET_VERSION } -SgwUrl ${ params.SGW_URL} "
3437 }
3538 post {
3639 always {
@@ -51,7 +54,7 @@ pipeline {
5154 }
5255 steps {
5356 sh ' security unlock-keychain -p ${KEYCHAIN_PASSWORD} ~/Library/Keychains/login.keychain-db'
54- sh " jenkins/pipelines/dotnet/test_mac.sh ${ params.CBL_EDITION } ${ params.CBL_VERSION } ${ params.CBL_BUILD } '${ params.SGW_URL} '"
57+ sh " jenkins/pipelines/dotnet/test_mac.sh ${ params.CBL_VERSION } ${ params.CBL_BUILD } ${ params.CBL_DATASET_VERSION } '${ params.SGW_URL} '"
5558 }
5659 post {
5760 always {
@@ -75,7 +78,7 @@ pipeline {
7578 agent { label ' mob-e2e-mac-01' }
7679 steps {
7780 sh ' security unlock-keychain -p ${KEYCHAIN_PASSWORD} ~/Library/Keychains/login.keychain-db'
78- sh " jenkins/pipelines/dotnet/test_ios.sh ${ params.CBL_EDITION } ${ params.CBL_VERSION } ${ params.CBL_BUILD } '${ params.SGW_URL} '"
81+ sh " jenkins/pipelines/dotnet/test_ios.sh ${ params.CBL_VERSION } ${ params.CBL_BUILD } ${ params.CBL_DATASET_VERSION } '${ params.SGW_URL} '"
7982 }
8083 post {
8184 always {
@@ -90,7 +93,7 @@ pipeline {
9093 }
9194 agent { label ' mob-e2e-mac-01' }
9295 steps {
93- sh " jenkins/pipelines/dotnet/test_android.sh ${ params.CBL_EDITION } ${ params.CBL_VERSION } ${ params.CBL_BUILD } '${ params.SGW_URL} '"
96+ sh " jenkins/pipelines/dotnet/test_android.sh ${ params.CBL_VERSION } ${ params.CBL_BUILD } ${ params.CBL_DATASET_VERSION } '${ params.SGW_URL} '"
9497 }
9598 post {
9699 always {
0 commit comments