@@ -13,12 +13,16 @@ def runTests() {
1313 cd test-app
1414 ./gradlew -i mlTestConnections
1515 ./gradlew -i mlDeploy
16-
1716 cd ..
17+
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+
20+ // Temporarily running a single test.
21+ ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic/documents-data-movement-removeAllUris.js --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-reports.xml || true
22+
23+ // Turning these off temporarily
24+ // ./node_modules/.bin/gulp setupProxyTests || true
25+ // ./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
2226 '''
2327}
2428
@@ -29,7 +33,7 @@ def runDockerCompose(String markLogicDockerImage) {
2933 sudo /usr/local/sbin/mladmin remove
3034 docker-compose down -v || true
3135 sudo /usr/local/sbin/mladmin cleandata
32- cd node-client-api/test-app
36+ cd node-client-api
3337 MARKLOGIC_LOGS_VOLUME=/tmp MARKLOGIC_IMAGE=''' + markLogicDockerImage + ''' docker-compose up -d --build
3438 sleep 60s;
3539 '''
@@ -38,7 +42,7 @@ def runDockerCompose(String markLogicDockerImage) {
3842def teardownAfterTests () {
3943 updateWorkspacePermissions()
4044 sh label : ' teardown-docker' , script : ''' #!/bin/bash
41- cd node-client-api/test-app
45+ cd node-client-api
4246 docker-compose down -v || true
4347 '''
4448 cleanupDocker()
@@ -118,13 +122,14 @@ pipeline {
118122
119123 stages {
120124
121- stage(' runtests-11.3.1 ' ) {
125+ stage(' pull-request-tests ' ) {
122126 agent { label ' nodeclientpool' }
123127 steps {
124128 runAuditReport()
125- runDockerCompose(' progressofficial /marklogic-db :latest-11.3 ' )
129+ runDockerCompose(' ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com /marklogic/marklogic-server-ubi :latest-12 ' )
126130 runTests()
127- runE2ETests()
131+ // Turning these off while debugging
132+ // runE2ETests()
128133 }
129134 post {
130135 always {
@@ -136,25 +141,25 @@ pipeline {
136141 stage(' regressions' ) {
137142 parallel {
138143
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- }
144+ // stage('runtests-11-nightly') {
145+ // when {
146+ // allOf {
147+ // branch 'develop'
148+ // expression { return params.regressions }
149+ // }
150+ // }
151+ // agent { label 'nodeclientpool' }
152+ // steps {
153+ // runDockerCompose('ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-11')
154+ // runTests()
155+ // runE2ETests()
156+ // }
157+ // post {
158+ // always {
159+ // teardownAfterTests()
160+ // }
161+ // }
162+ // }
158163
159164 stage(' runtests-12-nightly' ) {
160165 when {
@@ -176,25 +181,25 @@ pipeline {
176181 }
177182 }
178183
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- }
184+ // stage('runtests-10-nightly') {
185+ // when {
186+ // allOf {
187+ // branch 'develop'
188+ // expression { return params.regressions }
189+ // }
190+ // }
191+ // agent { label 'nodeclientpool' }
192+ // steps {
193+ // runDockerCompose('ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-10')
194+ // runTests()
195+ // runE2ETests()
196+ // }
197+ // post {
198+ // always {
199+ // teardownAfterTests()
200+ // }
201+ // }
202+ // }
198203 }
199204 }
200205 }
0 commit comments