@@ -387,6 +387,54 @@ pipeline {
387387 }
388388 }
389389
390+ stage(' Platform testing (Graviton3, mocks, openjdk 17)' ) {
391+ agent { label ' qe-grav3-amzn2' }
392+ when {
393+ beforeAgent true
394+ expression { notTriggeredByGerrit() }
395+ }
396+ steps {
397+ catchError(buildResult : ' FAILURE' , stageResult : ' FAILURE' ) {
398+ cleanupWorkspace()
399+ dir(' couchbase-jvm-clients' ) {
400+ doCheckout(REFSPEC )
401+ // Advice from builds team: cbdyncluster cannot be contacted from graviton agent, so testing
402+ // against mocks only for now
403+ script { testAgainstMock(defaultBuildJvm(), openjdk17()) }
404+ }
405+ }
406+ }
407+ post {
408+ always {
409+ junit allowEmptyResults : true , testResults : ' **/surefire-reports/*.xml'
410+ }
411+ }
412+ }
413+
414+ stage(' Platform testing (Graviton4, mocks, openjdk 17)' ) {
415+ agent { label ' qe-grav4-amzn2' }
416+ when {
417+ beforeAgent true
418+ expression { notTriggeredByGerrit() }
419+ }
420+ steps {
421+ catchError(buildResult : ' FAILURE' , stageResult : ' FAILURE' ) {
422+ cleanupWorkspace()
423+ dir(' couchbase-jvm-clients' ) {
424+ doCheckout(REFSPEC )
425+ // Advice from builds team: cbdyncluster cannot be contacted from graviton agent, so testing
426+ // against mocks only for now
427+ script { testAgainstMock(defaultBuildJvm(), openjdk17()) }
428+ }
429+ }
430+ }
431+ post {
432+ always {
433+ junit allowEmptyResults : true , testResults : ' **/surefire-reports/*.xml'
434+ }
435+ }
436+ }
437+
390438// Temporarily disabling until JVMCBC-1227 is resolved
391439// stage('Platform testing (Alpine, mock, openjdk 11)') {
392440// agent { label 'alpine' }
0 commit comments