Skip to content

Commit f965ca4

Browse files
Yakov FeldmanMarkLogic Builder
authored andcommitted
DEVO-360: No failures is reported if cypress has errors in its log
1 parent e763cb6 commit f965ca4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ def runCypressE2e(){
207207

208208
def output=readFile 'data-hub/marklogic-data-hub-central/ui/e2e/e2e_err.log'
209209
if(output.contains("npm ERR!")){
210-
// currentBuild.result='UNSTABLE';
211-
error 'cypress test failed. Tests might run succesfully or with some failures.'
210+
println("WARNING: cypress test run has errors in its log. Tests might run succesfully or with some failures.")
212211
}
213212

214213
junit '**/e2e/**/*.xml'

0 commit comments

Comments
 (0)