Skip to content
Permalink
Browse files

Try to diagnose failing Shib tests

  • Loading branch information
mederly committed Mar 28, 2019
1 parent a3d118a commit 5674ba90ebdcf72e1b98342add4e7fb180f2813c
Showing with 4 additions and 3 deletions.
  1. +3 −3 Jenkinsfile
  2. +1 −0 demo/shibboleth/tests/main.bats
@@ -58,10 +58,10 @@ pipeline {
sh 'bin/test.sh 2>&1 | tee debug ; test ${PIPESTATUS[0]} -eq 0'
sh 'echo Docker containers before compositions tests ; docker ps -a' // temporary

sh '(cd demo/simple ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
// sh '(cd demo/simple ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/shibboleth ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/postgresql ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/complex ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
// sh '(cd demo/postgresql ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
// sh '(cd demo/complex ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
} catch (error) {
def error_details = readFile('./debug')
def message = "BUILD ERROR: There was a problem testing ${imagename}:${tag}. \n\n ${error_details}"
@@ -22,6 +22,7 @@ load ../../../library
}

@test "030 Check health (midPoint)" {
docker logs shibboleth_midpoint_server_1
check_health
}

0 comments on commit 5674ba9

Please sign in to comment.
You can’t perform that action at this time.