@@ -16,9 +16,11 @@ def runTests() {
1616
1717 cd ..
1818 rm -rf $WORKSPACE/*.xml || true
19- ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic/ --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-reports.xml -g \' logging|archivePath\' --invert || true
20- ./node_modules/.bin/gulp setupProxyTests || true
21- ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic-proxy/lib/**/*.js --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-proxy-reports.xml -g \' logging|archivePath\' --invert || true
19+ ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic/documents-data-movement*.js --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-reports.xml || true
20+
21+ // Turning these off temporarily
22+ // ./node_modules/.bin/gulp setupProxyTests || true
23+ // ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic-proxy/lib/**/*.js --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-proxy-reports.xml -g \' logging|archivePath\' --invert || true
2224 '''
2325}
2426
@@ -29,7 +31,7 @@ def runDockerCompose(String markLogicDockerImage) {
2931 sudo /usr/local/sbin/mladmin remove
3032 docker-compose down -v || true
3133 sudo /usr/local/sbin/mladmin cleandata
32- cd node-client-api/test-app
34+ cd node-client-api
3335 MARKLOGIC_LOGS_VOLUME=/tmp MARKLOGIC_IMAGE=''' + markLogicDockerImage + ''' docker-compose up -d --build
3436 sleep 60s;
3537 '''
@@ -38,7 +40,7 @@ def runDockerCompose(String markLogicDockerImage) {
3840def teardownAfterTests () {
3941 updateWorkspacePermissions()
4042 sh label : ' teardown-docker' , script : ''' #!/bin/bash
41- cd node-client-api/test-app
43+ cd node-client-api
4244 docker-compose down -v || true
4345 '''
4446 cleanupDocker()
@@ -118,13 +120,14 @@ pipeline {
118120
119121 stages {
120122
121- stage(' runtests-11.3.1 ' ) {
123+ stage(' pull-request-tests ' ) {
122124 agent { label ' nodeclientpool' }
123125 steps {
124126 runAuditReport()
125- runDockerCompose(' progressofficial /marklogic-db :latest-11.3 ' )
127+ runDockerCompose(' ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com /marklogic/marklogic-server-ubi :latest-12 ' )
126128 runTests()
127- runE2ETests()
129+ // Turning these off while debugging
130+ // runE2ETests()
128131 }
129132 post {
130133 always {
@@ -136,25 +139,25 @@ pipeline {
136139 stage(' regressions' ) {
137140 parallel {
138141
139- stage(' runtests-11-nightly' ) {
140- when {
141- allOf {
142- branch ' develop'
143- expression { return params. regressions }
144- }
145- }
146- agent { label ' nodeclientpool' }
147- steps {
148- runDockerCompose(' ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-11' )
149- runTests()
150- runE2ETests()
151- }
152- post {
153- always {
154- teardownAfterTests()
155- }
156- }
157- }
142+ // stage('runtests-11-nightly') {
143+ // when {
144+ // allOf {
145+ // branch 'develop'
146+ // expression { return params.regressions }
147+ // }
148+ // }
149+ // agent { label 'nodeclientpool' }
150+ // steps {
151+ // runDockerCompose('ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-11')
152+ // runTests()
153+ // runE2ETests()
154+ // }
155+ // post {
156+ // always {
157+ // teardownAfterTests()
158+ // }
159+ // }
160+ // }
158161
159162 stage(' runtests-12-nightly' ) {
160163 when {
@@ -176,25 +179,25 @@ pipeline {
176179 }
177180 }
178181
179- stage(' runtests-10-nightly' ) {
180- when {
181- allOf {
182- branch ' develop'
183- expression { return params. regressions }
184- }
185- }
186- agent { label ' nodeclientpool' }
187- steps {
188- runDockerCompose(' ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-10' )
189- runTests()
190- runE2ETests()
191- }
192- post {
193- always {
194- teardownAfterTests()
195- }
196- }
197- }
182+ // stage('runtests-10-nightly') {
183+ // when {
184+ // allOf {
185+ // branch 'develop'
186+ // expression { return params.regressions }
187+ // }
188+ // }
189+ // agent { label 'nodeclientpool' }
190+ // steps {
191+ // runDockerCompose('ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-10')
192+ // runTests()
193+ // runE2ETests()
194+ // }
195+ // post {
196+ // always {
197+ // teardownAfterTests()
198+ // }
199+ // }
200+ // }
198201 }
199202 }
200203 }
0 commit comments